2 Peter 2:6-9

6 and if He condemned the cities of Sodom and Gomorrah to destruction by reducing them to ashes, having made them an example to those who would live ungodly lives thereafter; 7 and if He rescued righteous Lot, oppressed by the sensual conduct of unprincipled men 8 (for by what he saw and heard that righteous man, while living among them, felt his righteous soul tormented day after day by their lawless deeds), 9 then the Lord knows how to rescue the godly from temptation, and to keep the unrighteous under punishment for the day of judgment,