Exodus 8:31

And the Lord did according to the word of Moses; and he removed the swarms of flies from Pharaoh, from his servants, and from his people; there remained not one.

Cross-references

Isaiah 26:10 describes the wicked not learning righteousness when shown favor—Pharaoh receives relief but hardens his heart (Exodus 8:32).