Num 27:18-23

18So the Lord said to Moses, “Take Joshua son of Nun, a man in whom is the spirit, and lay your hand upon him;19have him stand before Eleazar the priest and all the congregation, and commission him in their sight.20You shall give him some of your authority, so that all the congregation of the Israelites may obey.21But he shall stand before Eleazar the priest, who shall inquire for him by the decision of the Urim before the Lord; at his word they shall go out, and at his word they shall come in, both he and all the Israelites with him, the whole congregation.”22So Moses did as the Lord commanded him. He took Joshua and had him stand before Eleazar the priest and the whole congregation;23he laid his hands on him and commissioned him—as the Lord had directed through Moses.