Deuteronomy 31:1–8
1 So Moses continued to speak these words to all Israel. 2 And he said to them, “I am a hundred and twenty years old this day; I am no longer able to go out and come in. The Lord has said to me, ‘You shall not go over this Jordan.’ 3 The Lord your God himself will go over before you; he will destroy these nations before you, so that you shall dispossess them; and Joshua will go over at your head, as the Lord has spoken. 4 And the Lord will do to them as he did to Sihon and Og, the kings of the Amorites, and to their land, when he destroyed them. 5 And the Lord will give them over to you, and you shall do to them according to all the commandment which I have commanded you. 6 Be strong and of good courage, do not fear or be in dread of them: for it is the Lord your God who goes with you; he will not fail you or forsake you.”
7 Then Moses summoned Joshua, and said to him in the sight of all Israel, “Be strong and of good courage; for you shall go with this people into the land which the Lord has sworn to their fathers to give them; and you shall put them in possession of it. 8 It is the Lord who goes before you; he will be with you, he will not fail you or forsake you; do not fear or be dismayed.”