And sometimes it is by means of a hornet, as it is written (in Exodus 23:28): "And I will send the hornet before you." Our Rabbis said: When the Holy One, blessed be He, sent the hornet before Israel to slay the Amorites, see what is written concerning them (in Amos 2:9): "Yet I destroyed the Amorite [before them, whose height was like the height of cedars, and he was as strong as the oaks, and so on]." It would enter into the right eye, and pour out its venom in it, and he would split open and fall down and die. For such is the way of the Holy One, blessed be He, to carry out His mission by means of slight things against all who exalt themselves over Him. He sends them a slight creature to exact punishment from them, in order to make known to them that their might is from none but Him. And in the time to come the Holy One, blessed be He, is destined to exact punishment from the star-worshiping nations by means of slight things, as it is said (in Isaiah 7:18-19): "And it shall come to pass on that day, that the Lord shall whistle for the fly that is at the end of the rivers of Egypt, and for the bee that is in the land of Assyria. And they shall come and rest all of them, and so on."
How God Routed the Amorites With a Single Hornet
Midrash Tanchuma Buber, Chukat 1:6
ופעמים על ידי צרעה, דכתיב ושלחתי את הצרעה לפניך (שמות כג כח), אמרו רבותינו כששלח הקב"ה את הצרעה לפני ישראל להרוג האמוריים, ראה מה כתיב בהן, ואנכי השמדתי את האמורי [מפניהם אשר כגובה ארזים גבהו וחסון הוא כאלונים וגו'] (עמוס ב ט), היתה נכנסת בעינו של ימין, ושופכת ארסה בו, והיתה מתבקע ונופל ומת, שכן דרכו של הקב"ה לעשות שליחותו על ידי דברים קלים לכל המתגאים עליו, שולח להם בריה קלה ליפרע מהם, להודיען שאין גבורתן אלא ממנו, ולעתיד לבא הקב"ה עתיד ליפרע מן האומות עובדי כוכבים על ידי דברים קלים, שנאמר והיה ביום ההוא ישרוק [ה'] לזבוב אשר בקצה יאורי מצרים ולדבורה אשר (בקצה ארץ) [בארץ] אשורו באו ונחו כלם וגו' (ישעיה ז יח יט).