The Nations Renounce Their Gods at the Sea

Yalkut Shimoni on Torah 250:2

"Who is like You among the gods, O LORD" (Exodus 15:11). When Israel saw that Pharaoh and his host were destroyed in the sea, and the kingdom of Egypt was abolished, and judgments were executed upon their gods, they all opened their mouths and said, "Who is like You," and so on. And not Israel alone said the song, but also the nations of the world: when they heard that he was destroyed and so on, they all renounced their gods and said, "Who is like You," and so on. You find that the nations of the world are destined to renounce their gods, as it is said, "O LORD, my strength and my stronghold and my refuge in the day of trouble" (Jeremiah 16:19), and it says, "Shall a man make gods for himself?" (Jeremiah 16:20). And it says, "In that day a man shall cast away" his idols (Isaiah 2:20), and it says, "to go into the clefts of the rocks" (Isaiah 2:21), and what is written there? "And the idols shall utterly pass away" (Isaiah 2:18).

Themes