Devarim / Deuteronomy 3:22
לֹא תְִּירָאוּם כִּי יְהוָה אֱלֹהֵיכֶם הוּא הַנִּלְחָם לָכֶם׃
Do not fear them, for the Eternal your Almighty, He is the one who fights for you."
Pshat פְּשָׁט
A war almost like any other
Malbim: Yehoshua's wars will be closer to the ordinary course of things, and still there is no need to fear: God will fight for you, as in the wars with Sichon (Sihon) and Og. Haamek Davar: circumstances changed, but God's will did not. Midrash Lekach Tov: "commanded" means "urged", and the Eternal fights in your place, as on the day He heeded Yehoshua's voice.
How Malbim, Haamek Davar, and Midrash Lekach Tov explain it
Remez רֶמֶז
An extra vav
Kitzur Ba'al HaTurim: right after "do not fear them" Moshe pleads: "I strengthened Israel, perhaps He will have mercy on me". Agra DeKala: "do not fear them" (תִּירָאוּם) is written with a full vav, as nowhere else in Tanakh. The vav looks like a sword: do not fear, even if the enemy's sword is over your neck. So Moshe did not stop praying, though the verdict had already been given.
How Kitzur Ba'al HaTurim and Agra DeKala explain it
Drash דְּרָשׁ
Who fears God
Aggadat Bereshit: "do not fear them": when Israel fear God, the nations fear them. When they abandon the fear of Him, enemies pursue them. The lions did not touch Daniel, fire feared Avraham (Abraham) and Chananyah, Mishael and Azaryah (Hananiah, Mishael and Azariah), water parted before Israel. And the nations come under the wings of the Presence of the Creator when Israel do His will.
How Aggadat Bereshit explain it
Sod סוֹד
Mercy as a gift
Agra DeKala: the name of the Eternal (ה׳) is mercy, it saves as a free gift, while the name of the Almighty (אֱלֹהִים) saves by law. In the wars with Sichon (Sihon) and Og the people were righteous, and salvation came by law. Moshe (Moses) tells Yehoshua (Joshua): even if the people are less worthy, the Eternal will save them as a gift. And Moshe himself pleaded for a free gift, to teach the generations: even with good deeds, ask for grace.
How Agra DeKala explain it