Gawd wanted to show the Egyptians that he was the only God. Yet, after the alleged ten plagues and the wipe out at the Red Sea, "Egypt was at the height of its power" and still worshiped their own gods.
7:5 And the Egyptians shall know that I am the LORD,
7:17 Thus saith the LORD, In this thou shalt know that I am the LORD: behold, I will smite with the rod that is in mine hand upon the waters which are in the river, and they shall be turned to blood.
8:22 And I will sever in that day the land of Goshen, in which my people dwell, that no swarms of flies shall be there; to the end thou mayest know that I am the LORD in the midst of the earth.
9:14 For I will at this time send all my plagues upon thine heart, and upon thy servants, and upon thy people; that thou mayest know that there is none like me in all the earth.
(I'll say there is none like him - arrogent, jealous, unjust, unforgiving control-freak; vindictive, bloodthirsty ethnic cleanser; a misogynistic, homophobic, racist, infanticidal, genocidal, filicidal, pestilential, megalomaniacal, sadomasochistic, capriciously malevolent asshole.
10:2 And that thou mayest tell in the ears of thy son, and of thy son's son, what things I have wrought in Egypt, and my signs which I have done among them; that ye may know how that I am the LORD.
12:12 For I will pass through the land of Egypt this night, and will smite all the firstborn in the land of Egypt, both man and beast; and against all the gods of Egypt I will execute judgment: I am the LORD.
Obviously, the lord gawd was trying to impress upon the Egyptians that he was the only god and they should recognize him.
Egypt was at the height of its power at the time of this nonsense AND they still worshiped their own Gods.
Gawd Utterly Failed to accomplish his stated mission.This IN SPITE of all the killing he did trying to show off. (See next page).
17:14 And the LORD said unto Moses, Write this for a memorial in a book, and rehearse it in the ears of Joshua: for I will utterly put out the remembrance of Amalek from under heaven.
(Umm - not so... obviously we still remember Amalek)
17:15 And Moses built an altar, and called the name of it Jehovahnissi:
17:16 For he said, Because the LORD hath sworn that the LORD will have war with Amalek from generation to generation.
WHY? What did Amalek do that his generations should have to go to war with gawd from 1447 BCE until now?