6 Later, God condemned the cities of Sodom and Gomorrah and turned them into heaps of ashes. He made them an example of what will happen to ungodly people. 7 But God also rescued Lot out of Sodom because he was a righteous man who was sick of the shameful immorality of the wicked people around him. 8 Yes, Lot was a righteous man who was tormented in his soul by the wickedness he saw and heard day after day. 9 So you see, the Lord knows how to rescue godly people from their trials, even while keeping the wicked under punishment until the day of final judgment.