The ten ancient Egyptian plagues stand in for the whole of God's justice and judgments upon those who refuse to repent, just as the "Ten Commandments" come to symbolize the fullness of God's moral rule. They lead to the conclusion if you repent and believe in Him you will be saved.