Deuteronomy 31:6-8

31:6 Be strong and courageous! Do not fear or tremble before them, for the Lord your God is the one who is going with you. He will not fail you or abandon you!” 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!”