The ‘righteous’ Lot, as he is called in 2 Peter 2 :7, started well. He had been following a godly person (Abram) and was blessed by this relationship. But he made some big big mistakes and poor choices in life. He had been flirting with a sinful lifestyle that led him gradually away from God. God allowed Lot’s story to be written in the Bible to teach how to avoid doing the same mistakes.

Genesis 13:1-13

13 Then Abram went up from Egypt to the Negev—he, his wife, and all he had, and Lot with him. Abram was very rich in livestock, silver, and gold. He went by stages from the Negev to Bethel, to the place between Bethel and Ai where his tent had formerly been, to the site where he had built the altar. And Abram called on the name of Yahweh there.

Now Lot, who was traveling with Abram, also had flocks, herds, and tents. But the land was unable to support them as long as they stayed together, for they had so many possessions that they could not stay together, and there was quarreling between the herdsmen of Abram’s livestock and the herdsmen of Lot’s livestock. At that time the Canaanites and the Perizzites were living in the land.

Then Abram said to Lot, “Please, let’s not have quarreling between you and me, or between your herdsmen and my herdsmen, since we are relatives. Isn’t the whole land before you? Separate from me: if you go to the left, I will go to the right; if you go to the right, I will go to the left.”

10 Lot looked out and saw that the entire Jordan Valley as far as Zoar was well watered everywhere like the Lord’s garden and the land of Egypt. This was before the Lorddestroyed Sodom and Gomorrah. 11 So Lot chose the entire Jordan Valley for himself. Then Lot journeyed eastward, and they separated from each other. 12 Abram lived in the land of Canaan, but Lot lived in the cities of the valley and set up his tent near Sodom. 13 Now the men of Sodom were evil, sinning greatly against the Lord.