2 Peter 2:6-9

6 if by turning the cities of Sodom and Gomorrah to ashes he condemned them to extinction, making them an example of what is going to happen to the ungodly; 7 and if he rescued righteous Lot, greatly distressed by the sensual conduct of the wicked 8 (for as that righteous man lived among them day after day, he was tormenting his righteous soul over their lawless deeds that he saw and heard); 9 then the Lord knows how to rescue the godly from trials, and to keep the unrighteous under punishment until the day of judgment,