None of this mattered. It was the LORD of hosts that did battle with Pharaoh and all the gods of Egypt in a way that no human could. From Yahweh's first strike against the Nile River, to the ninth strike against the sun with darkness, God demonstrated his universal power and authority over their sacred Nile and their so-called sun god, Ra. After the crossing of the sea, Israel worshipped God and declared, "Yahweh is a warrior! Yahweh is his name!" Yahweh's hosts only need to trust and obey their warrior God. God demonstrated this time after time, whether it was in the days of Gideon or David.
This reminds me of two passages to meditate on regarding what it means to be the host of the Lord:
“His delight is not in the strength of the horse, nor his pleasure in the legs of a man, but the LORD takes pleasure in those who fear him, in those who hope in his steadfast love” (Ps 147:10-11).
“For the weapons of our warfare are not of the flesh but have divine power to destroy strongholds” (2 Cor 10:4).