מדרש אויף תהילים 9:7

הָֽאוֹיֵ֨ב ׀ תַּ֥מּוּ חֳרָב֗וֹת לָ֫נֶ֥צַח וְעָרִ֥ים נָתַ֑שְׁתָּ אָבַ֖ד זִכְרָ֣ם הֵֽמָּה׃

דו פֿײַנט, פֿאַרלענדט זײַנען די חורבֿות אױף תּמיד;און שטעט האָסטו אױסגעריסן, זײער זכר איז אונטערגעגאַנגען,

Ein Yaakov (Glick Edition)

Rabbi taught to R. Simon his son: Acherim say: "If it were an exchange (Fol. 14) it would be sacrificed." Whereupon R. Simon interrupted him and said: "Who are they whose water (Torah) we drink and whose names we do not mention?" And he answered: "They were the men who conspird to destroy your glory and that of your father's house." R. Simon then quoted the passage (Ecc. 9, 6) Also their love, and their hatred, and their envy are now already lost. Whereupon his father quoted the following (Ps. 9, 7) The enemy is lost, but his ruinous deeds are still existing. R. Simon then said: "This would be right if the deeds of the Rabbis in question remained effective, but they whom you have in view had only an intention, for they were never realized." Thereupon Rabbi taught to him again: "It was said in the name of R. Mair that if it were an exchange [for the original sacrificial animal] it could not be offered on the altar. To this Raba made the following remark: "Rabbi, though modest in nature, yet refrained from saying, 'It was said by R. Mair,' but taught it was said in the name of R. Mair."
פֿרעגט אַ רבֿBookmarkShareCopy

Midrash Tehillim

The enemy's swords have ceased forever. The enemies have ceased, but their swords remain forever, like Constantine who built Constantinople, Philip who built Philia, Antiochus who built Antioch, Alexander who built Alexandria, and Siculus who built Sicily. They have ceased, but their swords remain. And you, you have uprooted cities. (See Isaiah 54:9) Zion and Jerusalem, your holy cities, have become a desert. They are forgotten, but God will always remain. Another interpretation is that the enemy's swords have ceased, like Caesar and Rome, and cities have been uprooted (Malachi 1:4) "Because you will say Edom is destroyed". Philip asked Rabbi Eliezer, "But doesn't the prophet say, 'Because you will say Edom is destroyed, they will rebuild and I will destroy?'" But all the buildings they built remain. The Rabbi replied, "The scripture is not speaking about the buildings, but about the counsel. Whatever you sit and plan in your hearts to do to us, it is what destroys your own counsel." He replied, "Your words are true, for every year we sit and plan to destroy you, but one sage comes and nullifies our plan."
פֿרעגט אַ רבֿBookmarkShareCopy

Midrash Tehillim

Another matter, the enemy's swords have been destroyed. Teach in the name of Rabbi Elazar, the Holy One, blessed be He, swore an oath on His throne of glory not to leave a memory of Amalek under the heavens. (Job 18:19) "He has no offspring or descendant among his people." So that it may not be said that this tree belonged to Amalek, as it is said, "Their memory has perished." Rabbi Levi said in the name of Rabbi Ḥama: As long as the seed of Amalek exists, the Name is not whole and the throne is not whole, as it is stated: "Because there is a hand on the throne of the Lord." (Exodus 17:16) It should have said, "on the throne of God." And when the memory of Amalek is obliterated from the world, the Name will be whole and the throne will be whole. As it is written, "The enemy's swords have been destroyed forever." (Psalms 9:7) What is written afterwards? "And the Lord shall endure forever; He has established His throne for judgment." (Psalms 9:8)
פֿרעגט אַ רבֿBookmarkShareCopy