He shall stand before Eleazar the priest, who shall inquire for him before the Lord by the judgment of the Urim [one of two articles in the priest's breastplate worn when asking counsel of the Lord for the people]. At Joshua's word the people shall go out and come in, both he and all the Israelite congregation with him.