Numbers 27:12 - 27:23
12 Then Yahweh said to Moses, “Go up to this mountain of Abarim, and see the land which I have given to the sons of Israel. 13 So 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.)
Moses Commissions Joshua15 Then Moses spoke to Yahweh, saying, 16 “May Yahweh, 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 Yahweh will not be like sheep which have no shepherd.” 18 So Yahweh 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 And you shall put some of your splendor 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 Yahweh. 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 So Moses did just as Yahweh commanded him; and he took Joshua and had him stand before Eleazar the priest and before all the congregation. 23 Then he laid his hands on him and commissioned him, just as Yahweh had spoken by the hand of Moses.