Numbers 27:21-23 World English Bible (WEB)
21 He shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before Yahweh. At his word they shall go out, and at his word they shall come in, both he and all the children of Israel with him, even all the congregation.”
22 Moses did as Yahweh commanded him. He took Joshua, and set him before Eleazar the priest and before all the congregation. 23 He laid his hands on him and commissioned him, as Yahweh spoke by Moses.