Numbers 27:18-23 NIV
So the LORD said to Moses, “Take Joshua son of Nun, a man in whom is the spirit of leadership, and lay your hand on him. Have him stand before Eleazar the priest and the entire assembly and commission him in their presence. Give him some of your authority so the whole Israelite community will obey him. He is to stand before Eleazar the priest, who will obtain decisions for him by inquiring of the Urim before the LORD. At his command he and the entire community of the Israelites will go out, and at his command they will come in.”
Moses did as the LORD commanded him. He took Joshua and had him stand before Eleazar the priest and the whole assembly. Then he laid his hands on him and commissioned him, as the LORD instructed through Moses.
NIV: New International Version