12 Then the LORD said to Moses, "Go up to this mountain of Abarim, and see the land which I have given to the sons of Israel. 13 "When you have seen it, you too will be gathered to your people, as Aaron your brother was; 14 for in the wilderness of Zin, during the strife of the congregation, you rebelled against My command to treat Me as holy before their eyes at the water." (These are the waters of Meribah of Kadesh in the wilderness of Zin.) 15 Then Moses spoke to the LORD, saying, 16 "May the LORD, the God of the spirits of all flesh, appoint a man over the congregation, 17 who will go out and come in before them, and who will lead them out and bring them in, so that the congregation of the LORD will not be like sheep which have no shepherd." 18 So the LORD said to Moses, "Take Joshua the son of Nun, a man in whom is the Spirit, and lay your hand on him; 19 and have him stand before Eleazar the priest and before all the congregation, and commission him in their sight. 20 "You shall put some of your authority on him, in order that all the congregation of the sons of Israel may obey him. 21 "Moreover, he shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before the LORD. At his command they shall go out and at his command they shall come in, both he and the sons of Israel with him, even all the congregation." 22 Moses did just as the LORD commanded him; and he took Joshua and set him before Eleazar the priest and before all the congregation. 23 Then he laid his hands on him and commissioned him, just as the LORD had spoken through Moses.