The Hebrew people were enslaved by the Egyptians for hundreds of years. They prayed to God to be released. God heard the cries of His people and called upon Moses to help free them. At first, Moses only asked Pharaoh to allow them to go out and worship their God. Pharaoh refused.
Blood, frogs, gnats…
For the first 3 plagues, everyone was affected by the plagues. But after that, God separates them and the plagues only affect the Egyptians.
Livestock, boils, hail, locusts, darkness…
With each plague, Pharaoh got a little more lenient, but still kept the people in Egypt.
The final plague: all the first born will die. This applies to everyone, but God provided instructions to Moses to allow the Hebrews to avoid this fate. They are to kill a Passover lamb, eat all of it, and smear the blood on the doorposts. Do this and this plague would pass over them. This was a choice for each Hebrew to make, however. To the Egyptians, it was devastating. Almost immediately, the Egyptians expelled the Hebrews from their land.
God gives us an opportunity to obey. If we hear words of direction from those we trust, God will bless what we are doing. In following Him, we allow God’s judgment to pass over us.