Numbers 27
21 Ref He shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before Yahweh: at his word shall they 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; and he took Joshua, and set him before Eleazar the priest, and before all the congregation:
23 Ref and he laid his hands on him, and gave him a charge, as Yahweh spoke by Moses.