6 So be strong and courageous! Do not be afraid and do not panic before them. For the Lord 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 Lord 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 Lord will personally go ahead of you. He will be with you; he will neither fail you nor abandon you."
Matthew Henry's Commentary on Deuteronomy 31:6-8
Commentary on Deuteronomy 31:1-8
(Read Deuteronomy 31:1-8)
Moses assures Israel of the constant presence of God with them. This is applied by the apostle to all God's spiritual Israel, to encourage their faith and hope; unto us is this gospel preached, as well as unto them; he will never fail thee, nor forsake thee, Hebrews 13:5. Moses commends Joshua to them for a leader; one whose wisdom, and courage, and affection they had long known; one whom God had appointed to be their leader; and therefore would own and bless. Joshua is well pleased to be admonished by Moses to be strong and of good courage. Those shall speed well, who have God with them; therefore they ought to be of good courage. Through God let us do valiantly, for through him we shall do victoriously; if we resist the devil, he will flee from us.