Yahweh said to Moses, Go up into this mountain of Abarim, and see the land which I have given to the children of Israel.
When you have seen it, you also shall be gathered to your people, as Aaron your brother was gathered;
because you rebelled against my word in the wilderness of Zin, in the strife of the congregation, to sanctify me at the waters before their eyes. (These are the waters of Meribah of Kadesh in the wilderness of Zin.)
Moses spoke to Yahweh, saying,
Let Yahweh, the God of the spirits of all flesh, appoint a man over the congregation,
who may go out before them, and who may come in before them, and who may lead them out, and who may bring them in; that the congregation of Yahweh not be as sheep which have no shepherd.
Yahweh said to Moses, Take Joshua the son of Nun, a man in whom is the Spirit, and lay your hand on him;
and set him before Eleazar the priest, and before all the congregation; and give him a charge in their sight.
You shall put of your honor on him, that all the congregation of the children of Israel may obey.
He shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before Yahweh: at his word shall they go out, and at his word they shall come in, both he, and all the children of Israel with him, even all the congregation.
Moses did as Yahweh commanded him; and he took Joshua, and set him before Eleazar the priest, and before all the congregation:
and he laid his hands on him, and gave him a charge, as Yahweh spoke by Moses.