Lot, who went with Abram, also had flocks and herds and tents, so that the land could not support them staying together; for their possessions were so great that they could not remain together. And there was quarreling between the herdsmen of Abram’s cattle and those of Lot’s cattle. -- The Canaanites and Perizzites were then dwelling in the land. Abram said to Lot, "Let there be no strife between you and me, between my herdsmen and yours, for we are kinsmen. Is not the whole land before you? Let us separate: if you go north, I will go south; and if you go south, I will go north." Lot looked about him and saw how well watered was the whole plain of the Jordan, all of it—this was before the Lord had destroyed Sodom and Gomorrah—all the way to Zoar, like the garden of the Lord, like the land of Egypt. So Lot chose for himself the whole plain of the Jordan, and Lot journeyed eastward. Thus they parted from each other; Abram remained in the land of Canaan, while Lot settled in the cities of the Plain, pitching his tents near Sodom. Now the inhabitants of Sodom were very wicked sinners against the Lord.
And the Lord said to Abram, after Lot had parted from him, "Raise your eyes and look out from where you are, to the north and south, to the east and west, for I give all the land that you see to you and your offspring forever. I will make your offspring as the dust of the earth, so that if one can count the dust of the earth, then your offspring too can be counted. Up, walk about the land, through its length and its breadth, for I give it to you." And Abram moved his tent, and came to dwell at the terebinths of Mamre, which are in Hebron; and he built an altar there to the Lord.