Deuteronomy 31:7-8

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. 31:8 The Lord is indeed going before you – he will be with you; he will not fail you or abandon you. Do not be afraid or discouraged!”

Deuteronomy 31:14

The Commissioning of Joshua

31:14 Then the Lord said to Moses, “The day of your death is near. Summon Joshua and present yourselves in the tent of meeting so that I can commission him.” So Moses and Joshua presented themselves in the tent of meeting.