2 Peter / Question
Peter lists past examples: God did not spare angels when they sinned, did not spare the ancient world but preserved Noah, and condemned Sodom and Gomorrah while rescuing righteous Lot. He uses these cases to show a pattern of judgment on the ungodly and rescue of the righteous. See 2 Peter 2:4–9.
In 2 Peter 2:4–9 the writer argues from three past judgments to a present conclusion. If God did not hold back from judging sin in the heavenly realm (angels), in the earliest human world (the flood), and in notorious cities (Sodom and Gomorrah), then present wrongdoers will not escape either. This paragraph sits inside a warning about false teachers and the harm they bring (2:1–3). The writer has just said their destruction is not delayed, and now backs that up with examples: God has already acted decisively in prior eras, so the current situation fits an established pattern rather than being unprecedented.
This paragraph argues from past precedents to a present conclusion: God has already judged serious rebellion, and God has also shown the ability to rescue particular people within a larger crisis. The three examples move from the heavenly realm (sinning angels) to early humanity (the flood) to infamous cities (Sodom and Gomorrah).
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with 2 Peter 2:4-9, then read the surrounding section so the answer stays connected to the passage's flow.
4For if God didn`t spare angels when they sinned, but cast them down to Tartarus, and committed them to pits of darkness, to be reserved to judgment;
5and didn`t spare the ancient world, but preserved Noah with seven others, a preacher of righteousness, when he brought a flood on the world of the ungodly;
6and turning the cities of Sodom and Gomorrah into ashes, condemned them to destruction, having made them an example to those who would live ungodly;
7and delivered righteous Lot, very distressed by the lustful life of the wicked
8(for that righteous man dwelling among them, in seeing and hearing, tormented his righteous soul from day to day with lawless deeds):
9the Lord knows how to deliver the godly out of temptation, and to keep the unrighteous under punishment to the day of judgment;