Exodus 8:1-19 is the frog plague and the last one where the wise men try to imitate Moses. After this, they are unable to imitate Moses.  And Pharaoh is not impressed by his own wise men.  And pharaoh goes back on his word.