The Exodus story is plain on its face that just as much as the Jewish People must understand there is a God and there are consequences, Egypt must also know and understand.
In the story of Jewish redemption, why is it important for Egypt to know that God is God?
When the entire Egyptian army was drowning in the waves of the Red Sea and the Jews were celebrating their escape, God didn’t celebrate – “Will the angels sing while my creations drown?!”
Egypt was pagan and polytheistic, and the plagues were an exhibition on monotheism, demonstrating a higher unified force controlling all the underlying elements that Egypt deified. The plagues were all delivered using media the Egyptians well understood – they worshipped nature, and nature turned on them.
The Lubavitcher Rebbe shrewdly noted that שְׁפֹךְ חֲמָתְךָ אֶל־הַגּוֹיִם is only on אֲשֶׁר לֹא יְדָעוּךָ. The Torah’s vision, from it’s earliest moments, is not just that the Jews have a national redemption; the utopian future we hope for is one where all will recognize God. While the Lubavitcher Rebbe and his followers have certainly taken outreach to it’s furthest conceivable limits, it is worth dwelling on the principle.
The Torah is not a pathway to personal joy and reward just for us. When the Torah is properly lived, it is supposed to influence and impact the people and world around us.