Then the Lord said to Moses, "Go to Pharaoh and say to him, "Thus says the Lord: Let my people go, so that they may worship me.
If you refuse to let them go, I will plague your whole country with frogs.
The river shall swarm with frogs; they shall come up into your palace, into your bedchamber and your bed, and into the houses of your officials and of your people, and into your ovens and your kneading bowls.
The frogs shall come up on you and on your people and on all your officials.' "
And the Lord said to Moses, "Say to Aaron, "Stretch out your hand with your staff over the rivers, the canals, and the pools, and make frogs come up on the land of Egypt.' "
So Aaron stretched out his hand over the waters of Egypt; and the frogs came up and covered the land of Egypt.
But the magicians did the same by their secret arts, and brought frogs up on the land of Egypt.
Then Pharaoh called Moses and Aaron, and said, "Pray to the Lord to take away the frogs from me and my people, and I will let the people go to sacrifice to the Lord."
Moses said to Pharaoh, "Kindly tell me when I am to pray for you and for your officials and for your people, that the frogs may be removed from you and your houses and be left only in the Nile."
And he said, "Tomorrow." Moses said, "As you say! So that you may know that there is no one like the Lord our God,
the frogs shall leave you and your houses and your officials and your people; they shall be left only in the Nile."
Then Moses and Aaron went out from Pharaoh; and Moses cried out to the Lord concerning the frogs that he had brought upon Pharaoh.
And the Lord did as Moses requested: the frogs died in the houses, the courtyards, and the fields.
And they gathered them together in heaps, and the land stank.
But when Pharaoh saw that there was a respite, he hardened his heart, and would not listen to them, just as the Lord had said.
Then the Lord said to Moses, "Say to Aaron, "Stretch out your staff and strike the dust of the earth, so that it may become gnats throughout the whole land of Egypt.' "
And they did so; Aaron stretched out his hand with his staff and struck the dust of the earth, and gnats came on humans and animals alike; all the dust of the earth turned into gnats throughout the whole land of Egypt.
The magicians tried to produce gnats by their secret arts, but they could not. There were gnats on both humans and animals.
And the magicians said to Pharaoh, "This is the finger of God!" But Pharaoh's heart was hardened, and he would not listen to them, just as the Lord had said.
Then the Lord said to Moses, "Rise early in the morning and present yourself before Pharaoh, as he goes out to the water, and say to him, "Thus says the Lord: Let my people go, so that they may worship me.
For if you will not let my people go, I will send swarms of flies on you, your officials, and your people, and into your houses; and the houses of the Egyptians shall be filled with swarms of flies; so also the land where they live.
But on that day I will set apart the land of Goshen, where my people live, so that no swarms of flies shall be there, that you may know that I the Lord am in this land.
Thus I will make a distinction between my people and your people. This sign shall appear tomorrow.' "
The Lord did so, and great swarms of flies came into the house of Pharaoh and into his officials' houses; in all of Egypt the land was ruined because of the flies.
Then Pharaoh summoned Moses and Aaron, and said, "Go, sacrifice to your God within the land."
But Moses said, "It would not be right to do so; for the sacrifices that we offer to the Lord our God are offensive to the Egyptians. If we offer in the sight of the Egyptians sacrifices that are offensive to them, will they not stone us?
We must go a three days' journey into the wilderness and sacrifice to the Lord our God as he commands us."
So Pharaoh said, "I will let you go to sacrifice to the Lord your God in the wilderness, provided you do not go very far away. Pray for me."
Then Moses said, "As soon as I leave you, I will pray to the Lord that the swarms of flies may depart tomorrow from Pharaoh, from his officials, and from his people; only do not let Pharaoh again deal falsely by not letting the people go to sacrifice to the Lord."
So Moses went out from Pharaoh and prayed to the Lord.
And the Lord did as Moses asked: he removed the swarms of flies from Pharaoh, from his officials, and from his people; not one remained.
But Pharaoh hardened his heart this time also, and would not let the people go.