Lot was righteous, and God rescued him from the punishment he sent on Sodom and Gomorrah.
"the immoral behavior of people who broke God's law"