2 Peter 2:6-9

6 and turning the cities of Sodom and Gomorrah into ashes, condemned them to destruction, having made them an example to those who would live ungodly;  7 and delivered righteous Lot, who was very distressed by the lustful life of the wicked  8 (for that righteous man dwelling among them, was tormented in his righteous soul from day to day with seeing and hearing lawless deeds):  9 the Lord knows how to deliver the godly out of temptation and to keep the unrighteous under punishment for the day of judgment;