When you have seen it, you also shall be gathered to your people, as your brother Aaron was,
because you rebelled against my word in the wilderness of Zin when the congregation quarreled with me. You did not show my holiness before their eyes at the waters." (These are the waters of Meribath-kadesh in the wilderness of Zin.)
Moses spoke to the Lord, saying,
"Let the Lord, the God of the spirits of all flesh, appoint someone over the congregation
who shall go out before them and come in before them, who shall lead them out and bring them in, so that the congregation of the Lord may not be like sheep without a shepherd."
So the Lord said to Moses, "Take Joshua son of Nun, a man in whom is the spirit, and lay your hand upon him;
have him stand before Eleazar the priest and all the congregation, and commission him in their sight.
You shall give him some of your authority, so that all the congregation of the Israelites may obey.
But 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."
So Moses did as the Lord commanded him. He took Joshua and had him stand before Eleazar the priest and the whole congregation;
he laid his hands on him and commissioned him—as the Lord had directed through Moses.