Genesis 13:5-13 Lot also, who went with Abram, had flocks and herds and tents. Now the land was not able to support them, that they might dwell together, for their possessions were so great that they could not dwell together. And there was strife between the herdsmen of Abram's livestock and the herdsmen of Lot's livestock. The Canaanites and the Perizzites then dwelt in the land. So Abram said to Lot, “Please let there be no strife between you and me, and between my herdsmen and your herdsmen; for we are brethren. Is not the whole land before you? Please separate from me. If you take the left, then I will go to the right; or, if you go to the right, then I will go to the left.” And Lot lifted his eyes and saw all the plain of Jordan, that it was well watered everywhere (before the LORD destroyed Sodom and Gomorrah) like the garden of the LORD, like the land of Egypt as you go toward Zoar. Then Lot chose for himself all the plain of Jordan, and Lot journeyed east. And they separated from each other. Abram dwelt in the land of Canaan, and Lot dwelt in the cities of the plain and pitched his tent even as far as Sodom. But the men of Sodom were exceedingly wicked and sinful against the LORD.
Genesis 13:1 Then Abram went up from Egypt, he and his wife and all that he had, and Lot with him, to the South.
Genesis 14:14-17 Now when Abram heard that his brother was taken captive, he armed his three hundred and eighteen trained servants who were born in his own house, and went in pursuit as far as Dan. He divided his forces against them by night, and he and his servants attacked them and pursued them as far as Hobah, which is north of Damascus. So he brought back all the goods, and also brought back his brother Lot and his goods, as well as the women and the people. And the king of Sodom went out to meet him at the Valley of Shaveh (that is, the King's Valley), after his return from the defeat of Chedorlaomer and the kings who were with him.