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 · Drash

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.

Drash דְּרָשׁ

A hundred against one

Fear often grows from counting: they are more. The midrash shows how that count looks from the other side.

Midrash Tanchuma: "horse" is said in the singular, for before the Holy One, blessed is He, all the enemies are like one horse. "More numerous than you": before you they are many, before Him like one man. "Do not be afraid of them": your fathers were not afraid. Avraham did not fear, because the Most High was his shield, and so He will do for you. Sifrei: the One who brought you out of Egypt stands by you in a time of trouble.

How Midrash Tanchuma and Sifrei explain it

Midrash Tanchuma And see horses and chariots

And it says: "For the horse of Pharaoh went in" (Shemot / Exodus 15:19). Why does it not say "horses and riders"? Because before the Holy One, blessed is He, they count only as one horse. "A people more numerous than you": the Holy One, blessed is He, said: before you they are many, but before Me they count only as one man. From where? So the Holy One, blessed is He, says to Gideon (Gideon): "And you shall strike Midyan as one man" (Shoftim / Judges 6:16). And from where that they are many? As it says: "Woe, the tumult of many peoples, that roar like the roaring of the seas" (Yeshayahu / Isaiah 17:12). And there are a hundred and five of them for each one of you, yet you win, as it says: "And five of you shall chase a hundred" (Vayikra / Leviticus 26:8). That is why it is written: "a people more numerous than you".

"Do not be afraid of them": your fathers were not afraid of them and won. What is written of Avraham our father? "And he divided himself against them by night, he and his servants, and struck them" (Bereshit / Genesis 14:15). And he did not fear them, because I said to him: "Do not fear, Avram, I am your shield, your reward is very great" (Bereshit / Genesis 15:1). And I made him a shield, as it says: "I am your shield". And as I did for him, so I will do for you, as it says: "As I have planned, so it shall be, and as I have resolved, so it shall stand" (Yeshayahu / Isaiah 14:24). What does "as I have planned" mean? As I did for Avraham, so I will do for you.

Sifrei Do not be afraid of them, for the Eternal your Almighty is with you, who brought you up from the land of Egypt

The One who brought you up from the land of Egypt stands by you in a time of trouble.

Takeaway

Gideon is the judge who with three hundred men defeated the army of Midyan (Shoftim / Judges 7). The midrash brings the words of the Most High to him.
The midrash derives "a hundred and five for each" from the verse where five chase a hundred (Vayikra / Leviticus 26:8).
Avraham with a small band caught up by night with the four kings who had taken his nephew Lot captive (Bereshit / Genesis 14). Right after this he is told: "Do not fear, Avram."
Rashi on the Pshat level brings the same verses about Pharaoh's horse and about Midyan.