Deuteronomy 31:5-8; Deuteronomy 31:23

5 The will hand over to you the people who live there, and you must deal with them as I have commanded you. 6 So be strong and courageous! Do not be afraid and do not panic before them. For the your God will personally go ahead of you. He will neither fail you nor abandon you.” 7 Then Moses called for Joshua, and as all Israel watched, he said to him, “Be strong and courageous! For you will lead these people into the land that the swore to their ancestors he would give them. You are the one who will divide it among them as their grants of land. 8 Do not be afraid or discouraged, for the will personally go ahead of you. He will be with you; he will neither fail you nor abandon you.”
23 Then the commissioned Joshua son of Nun with these words: “Be strong and courageous, for you must bring the people of Israel into the land I swore to give them. I will be with you.”