Numbers 27:16-21

27:16 “Let the Lord, the God of the spirits of all humankind, appoint a man over the community, 27:17 who will go out before them, and who will come in before them, and who will lead them out, and who will bring them in, so that the community of the Lord may not be like sheep that have no shepherd.”

27:18 The Lord replied to Moses, “Take Joshua son of Nun, a man in whom is such a spirit, and lay your hand on him; 27:19 set him before Eleazar the priest and before the whole community, and commission him publicly. 27:20 Then you must delegate some of your authority to him, so that the whole community of the Israelites will be obedient. 27:21 And he will stand before Eleazar the priest, who will seek counsel for him before the Lord by the decision of the Urim. At his command they will go out, and at his command they will come in, he and all the Israelites with him, the whole community.”

Deuteronomy 3:28

3:28 Commission Joshua, and encourage and strengthen him, because he will lead these people over and will enable them to inherit the land you will see.”

Deuteronomy 31:7

31:7 Then Moses called out to Joshua in the presence of all Israel, “Be strong and courageous, for you will accompany these people to the land that the Lord promised to give their ancestors, and you will enable them to inherit it.