Exodus 8:9
8:9 Moses said to Pharaoh, “You may have the honor over me – when shall I pray for you, your servants, and your people, for the frogs to be removed from you and your houses, so that they will be left only in the Nile?”
Exodus 14:4
14:4 I will harden Pharaoh’s heart, and he will chase after them. I will gain honor because of Pharaoh and because of all his army, and the Egyptians will know that I am the Lord.” So this is what they did.