Numbers 27:21-23

MLV(i) 21 And he will stand before Eleazar the priest, who will inquire for him by the judgment of the Urim before Jehovah. At his word will they go out and at his word they will come in, both he and all the sons of Israel with him, even all the congregation.
22 And Moses did as Jehovah commanded him. And he took Joshua and set him before Eleazar the priest and before all the congregation. 23 And he laid his hands upon him and gave him a charge, as Jehovah spoke by Moses.