Ezekiel 32:31 Midrash

אוֹתָם֙ יִרְאֶ֣ה פַרְעֹ֔ה וְנִחַ֖ם עַל־כָּל־המונה [הֲמוֹנ֑וֹ] חַלְלֵי־חֶ֙רֶב֙ פַּרְעֹ֣ה וְכָל־חֵיל֔וֹ נְאֻ֖ם אֲדֹנָ֥י יְהוִֽה׃

These shall Pharaoh see, and shall be comforted over all his multitude; even Pharaoh and all his army, slain by the sword, saith the Lord GOD.

Read midrashic interpretation of Ezekiel 32:31: and classical rabbinic exegesis.