First of all, what is a "god" ?
The Hebrew term Elohim and the Greek term Theos both have a
wide range of meaning. The Bible frequently uses Elohim to refer to angels.
Secondly:
If the Bible said Satan is the god of Egypt, would you dispute that?
Sure, the
Egyptians would disagree, but the idea is that their false gods equate to evil spirits masquerading as their gods, and the leader of these evil spirits is called Hasatan.
The TNK often uses the terms Egypt and Babylon to represent "evil world systems", just as Paul in the NT uses "the World". Hence Satan being called the King of Babylon in Isaiah is completely equivalent to calling him
the god of the world.