Ezekiel 32:31

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

Cross-reference

In Ezekiel 31:16, the trees of Eden are comforted in Sheol at Assyria's fall — directly parallels Pharaoh being comforted by seeing the slain.

In Ezekiel 31:17, Assyria's allies go down to Sheol with him — parallels the multitude of slain accompanying Pharaoh in the underworld.