Genesis 13:10-13 NIV

10 Lot looked around and saw that the whole plain of the Jordan toward Zoar was well watered, like the garden of the LORD, like the land of Egypt. (This was before the LORD destroyed Sodom and Gomorrah.)
11 So Lot chose for himself the whole plain of the Jordan and set out toward the east. The two men parted company:
12 Abram lived in the land of Canaan, while Lot lived among the cities of the plain and pitched his tents near Sodom.

References for Genesis 13:12

13 Now the people of Sodom were wicked and were sinning greatly against the LORD.

References for Genesis 13:13