So Joshua got up early in the morning and brought Israel forward by tribes, and the tribe of Judah was selected.