Devarim20:1

כִּי־תֵצֵא לַמִּלְחָמָה עַל־אֹיְבֶיךָ וְרָאִיתָ סוּס וָרֶכֶב עַם רַב מִמְּךָ לֹא תִירָא מֵהֶם כִּי־יְהוָה אֱלֹהֶיךָ עִמָּךְ הַמַּעַלְךָ מֵאֶרֶץ מִצְרָיִם׃

When you go out to war against your enemies and see horses and chariots, a people more numerous than you, do not be afraid of them, for the Eternal your Almighty is with you, who brought you up from the land of Egypt.

Devarim 20:1

כִּי־תֵצֵא לַמִּלְחָמָה עַל־אֹיְבֶיךָ

Devarim / Deuteronomy 20:1 · Pshat

Devarim 20:1

כִּי־תֵצֵא לַמִּלְחָמָה עַל־אֹיְבֶיךָ וְרָאִיתָ סוּס וָרֶכֶב עַם רַב מִמְּךָ לֹא תִירָא מֵהֶם כִּי־יְהוָה אֱלֹהֶיךָ עִמָּךְ הַמַּעַלְךָ מֵאֶרֶץ מִצְרָיִם׃

When you go out to war against your enemies and see horses and chariots, a people more numerous than you, do not be afraid of them, for the Eternal your Almighty is with you, who brought you up from the land of Egypt.

Pshat פְּשָׁט

Like one horse

When the opponents are many, the forces seem unequal. The Torah tells the one going out to war: do not be afraid.

Rashi: one who lacks a limb does not go out to war. And if you judged justly, you may be sure of victory. To the Eternal the enemies are like one horse: they are many only in your eyes. Chizkuni: "the Eternal is with you": His vessels are with you, the ark and the trumpets. Haamek Davar: in time of war the Shechinah dwells in the camp.

How Rashi, Chizkuni, and Haamek Davar explain it

Rashi When you go out to war

The Torah set going out to war here, next to this, to tell you that one who lacks a limb does not go out to war. Another explanation: to tell you that if you did just judgment, you may be sure that you will go out to war and win. And so David says: "I have done justice and righteousness, do not leave me to my oppressors" (Tehillim / Psalms 119:121).

Rashi Against your enemies

Let them be enemies in your eyes. Do not pity them, for they will not pity you.

Rashi Horses and chariots

In My eyes they are all like one horse. And so it says: "And you shall strike Midyan as one man" (Shoftim / Judges 6:16). And so it says: "For the horse of Pharaoh went in" (Shemot / Exodus 15:19).

Rashi A people more numerous than you

In your eyes it is numerous, but in My eyes it is not numerous.

Chizkuni For the Eternal your Almighty is with you

His vessels are with you, such as the ark and the trumpets.

Haamek Davar For the Eternal your Almighty is with you

Especially in time of war the Shechinah dwells in the camp of Israel, as written above.

Takeaway

"The Torah set it next to this": just before this verse it says "eye for eye, tooth for tooth, hand for hand" (Devarim / Deuteronomy 19:21). Rashi: the closeness teaches that one who lacks a limb does not go out to war.
The Shechinah (שְׁכִינָה) is the presence of the Most High among people.
"The horse of Pharaoh" is said in the singular, though there were many horses. Rashi: before Him they are all like one horse.
Onkelos renders "with you" as "His word is your help" (מֵימְרֵהּ בְּסַעְדָךְ).