Satan has his powers that he provided the magicians but he is not all powerful.
.....................The battle between the God of Heaven and earth and the gods of Egypt began at the get go.
................................As the rod of Aaron swallowed up the rods of the magicians, so would the religion which God was about to establish, swallow up the delusions that the 'wise men' of the world thought was great that still left them slaves to Satan.