וְזֹ֣את ׀ תִּֽהְיֶ֣ה הַמַּגֵּפָ֗ה אֲשֶׁ֨ר יִגֹּ֤ף יְהוָה֙ אֶת־כָּל־הָ֣עַמִּ֔ים אֲשֶׁ֥ר צָבְא֖וּ עַל־יְרוּשָׁלִָ֑ם הָמֵ֣ק ׀ בְּשָׂר֗וֹ וְהוּא֙ עֹמֵ֣ד עַל־רַגְלָ֔יו וְעֵינָיו֙ תִּמַּ֣קְנָה בְחֹֽרֵיהֶ֔ן וּלְשׁוֹנ֖וֹ תִּמַּ֥ק בְּפִיהֶֽם׃
И это будет чумой, из-за которой Господь поразит все народы, воевавшие против Иерусалима: плоть их истребится, когда они встанут на ноги, и глаза их истребят в сокетах их, и язык их истребит в их рот.
Aggadat Bereshit
[2] Another interpretation: "Things will come to your heart." Everything is first considered in the heart. Esau did this, as it is said, "And Esau said in his heart" (Genesis 27:41). Nebuchadnezzar did this, and you also said in your heart, "I will ascend to heaven; I will raise my throne above the stars of God" (Isaiah 14:13). Haman did this, as it is said, "Haman went out that day joyful and with a glad heart. But when Haman saw Mordecai in the king's gate, that he did not stand or tremble before him, he was filled with wrath against Mordecai" (Esther 5:9-13). The kingdom of Sodom did this, as it is said, "And now, O inhabitants of Jerusalem and men of Judah, judge, please, between Me and My vineyard. What more could have been done to My vineyard that I have not done in it? Why then, when I expected it to bring forth good grapes, did it bring forth wild grapes?" (Isaiah 5:3-4). Likewise, Gog did this, as it is said, "Let things come to your heart and put evil schemes into your mind" (Ezekiel 38:10). Everything he thought in his heart, the Holy One, blessed be He, made public. And what Esau thought, see later at the end of chapter 42 [of Genesis]. He went to Ishmael and said, "This is not the way of the world that I should kill my father Isaac. Rather, kill him and let me inherit the entire world." This is what he said with his mouth, but in his heart he was saying, "I will kill Jacob after Ishmael kills Isaac." He came to Ishmael and killed him and said, "Why did you kill my father?" And I will inherit the entire world for myself." He thought this in his heart, and the Holy One, blessed be He, made it public, as it is said, "For I have laid bare Esau's rugged mountains and his dwelling place" (Jeremiah 49:10). The Lord said, "I know what you thought in your heart," as it is said, "Because you said, 'These two nations and these two lands shall be mine, and we will possess them,' whereas the Lord was there" (Ezekiel 35:10). There I looked into your heart and saw what you thought. Likewise, Gog and Magog think in their hearts, as it is said, "On that day, things will come to your heart and you will plan an evil plan" (Ezekiel 38:10). And the Holy One, blessed be He, makes public what they are thinking, as it is said, "And you said, 'I will go up to the land of unwalled villages; I will go to those who are at rest, who dwell safely, all of them dwelling without walls and having neither bars nor gates'" (Ezekiel 38:11). And what does he think? Rather, this is what Pharaoh, who came against the Israelites, says: "He [Moses] was a fool, he left his patron and came to them." And similarly, Amalek, Sisera, and anyone who stood against them [the Israelites], they left [it] to the Holy One, blessed be He, [to deal with them], [because] they were fools. But what can I do? I will go first to the patrons of Israel, and if I kill the Messiah, he will raise up other Messiahs. But [the judgment] is upon the Lord, as it says, "Why do the nations rage and the peoples plot in vain?" (Psalms 2:1-2). Edom, Ishmael, Gebal, Ammon, and Assyria all conspired against the Almighty, as it is written, "They have taken crafty counsel against Your people, and consulted together against Your sheltered ones" (Psalms 83:3). And what do they do? They stand on their feet and look up at the Almighty, saying, "Come, let us cut them off from being a nation, that the name of Israel may be remembered no more" (Psalms 83:5). What is the name of Israel? They say, "Let us wipe it out," as it is written, "Blessed is the Eternal, God of Israel" (Psalms 41:14). And what does the Lord do to them from above? He stands on their feet and punishes them, as it is written: "And this shall be the plague...he shall stand upon his feet, and his eyes shall consume away in their holes, and his tongue shall consume away in his mouth." (Zechariah 14:12). Those feet that wanted to stand against Me, the plague consumes them while they stand on their feet. Those eyes that looked upwards, his eyes shall consume away in their holes. And that tongue that spoke against Me, his tongue shall consume away in his mouth. The Lord said to them: "At first, there was no peace among you, 'There is no peace,' says the Lord, 'for the wicked'" (Isaiah 48:22). But now you have made peace with each other to come against Me. It is written, "For they have consulted together with one consent; against thee do they make a covenant: The tabernacles of Edom, and the Ishmaelites; of Moab, and the Hagarenes; Gebal, and Ammon, and Amalek; the Philistines with the inhabitants of Tyre; Assur also is joined with them: they have holpen the children of Lot. Selah." (Psalm 83:6-9). All of you have made peace to come against Me, so I will also do the same. And you, son of man, shall say to the birds and to every beast of the field: "Assemble yourselves, and come; gather yourselves on every side to my sacrifice that I do sacrifice for you, even a great sacrifice upon the mountains of Israel, that ye may eat flesh, and drink blood." (Ezekiel 39:17). Just as you did not have peace with each other and made peace to come upon me, so too I call the birds and animals that did not have peace with each other and I make peace between them to come upon you. And because you said, "And let not the name of Israel be remembered anymore," (Psalm 83:5) your life will end and they will bury you and take your name away from the world, as it is said, "all the people of the land shall bury them. The day I manifest My glory shall bring renown to them", and they shall make an end. (Ezekiel 39:13)
Mekhilta DeRabbi Yishmael
Issi b. Yehudah says: It is written here "horse," unqualified (i.e., the punishments of the horse are not specified), and, elsewhere, "horse," qualified, viz. (Zechariah 12:4) "I will smite every horse with craze, and its rider with distraction. But I will open My eyes to the house of Yehudah, and every horse of the peoples I will smite with blindness," and (Ibid. 14:12) "And this will be the plague with which the L–rd will strike all the peoples who massed against Jerusalem, etc.", and (Ibid. 15) "And thus (i.e., as that of the men) will be the plague of the horse, the mule, the camel, and the ass, etc." Just as in the qualified, five smitings, so, in the unqualified, five smitings.
Midrash Tanchuma
There was pestilence in Egypt, and about Edom it says: I will plead against him with pestilence and with blood (Ezek. 38:22). In Egypt, boils were inflicted, and in Edom: Their flesh shall consume away while they stand upon their feet, and their eyes shall consume away in their sockets, and their tongues shall consume away in their mouths (Zech. 14:12). In Egypt there was hail, and upon Edom: An overflowing shower and great hailstones (Ezek. 38:22). Locusts afflicted Egypt, and in the case of Edom: Son of man … Speak unto the birds of every sort, and to every beast of the field: Assemble yourselves (Ezek. 39:17). Darkness befell Egypt, and with regard to Edom: He shall stretch over it the line of confusion and the plummet of emptiness (Isa. 34:11). In Egypt He smote their firstborn, and in Edom: There are the princes of the north, all of them, and all the Sidonians (Ezek. 32:30).