12The LORD said to Moses, “Go up this mountain of the Abarim range, and see the land that I have given to the Israelites. 13When you have seen it, you also shall be gathered to your people, as your brother Aaron was, 14because 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 Meribah of Kadesh in the wilderness of Zin.) 15Moses spoke to the LORD, saying, 16″Let the LORD, the God of the spirits of all flesh, appoint someone over the congregation 17who 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.” 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.