13:1 So Abram went up from Egypt, he and his wife and all that he had, and Lot with him, into the Negeb.
2 Now Abram was very rich in livestock, in silver, and in gold. 3 And he journeyed on from the Negeb as far as Bethel to the place where his tent had been at the beginning, between Bethel and Ai, 4 to the place where he had made an altar at the first. And there Abram called upon the name of the Lord. 5 And Lot, who went with Abram, also had flocks and herds and tents, 6 so that the land could not support both of them dwelling together; for their possessions were so great that they could not dwell together, 7 and there was strife between the herdsmen of Abram's livestock and the herdsmen of Lot's livestock. At that time the Canaanites and the Perizzites were dwelling in the land.
8 Then Abram said to Lot, “Let there be no strife between you and me, and between your herdsmen and my herdsmen, for we are kinsmen. 9 Is not the whole land before you? Separate yourself from me. If you take the left hand, then I will go to the right, or if you take the right hand, then I will go to the left.” 10 And Lot lifted up his eyes and saw that the Jordan Valley was well watered everywhere like the garden of the Lord, like the land of Egypt, in the direction of Zoar. (This was before the Lord destroyed Sodom and Gomorrah.) 11 So Lot chose for himself all the Jordan Valley, and Lot journeyed east. Thus they separated from each other. 12 Abram settled in the land of Canaan, while Lot settled among the cities of the valley and moved his tent as far as Sodom. 13 Now the men of Sodom were wicked, great sinners against the Lord.
14 The Lord said to Abram, after Lot had separated from him, “Lift up your eyes and look from the place where you are, northward and southward and eastward and westward, 15 for all the land that you see I will give to you and to your offspring forever. 16 I will make your offspring as the dust of the earth, so that if one can count the dust of the earth, your offspring also can be counted. 17 Arise, walk through the length and the breadth of the land, for I will give it to you.” 18 So Abram moved his tent and came and settled by the oaks of Mamre, which are at Hebron, and there he built an altar to the Lord.
14:1 In the days of Amraphel king of Shinar, Arioch king of Ellasar, Chedorlaomer king of Elam, and Tidal king of Goiim, 2 these kings made war with Bera king of Sodom, Birsha king of Gomorrah, Shinab king of Admah, Shemeber king of Zeboiim, and the king of Bela (that is, Zoar). 3 And all these joined forces in the Valley of Siddim (that is, the Salt Sea). 4 Twelve years they had served Chedorlaomer, but in the thirteenth year they rebelled. 5 In the fourteenth year Chedorlaomer and the kings who were with him came and defeated the Rephaim in Ashteroth-karnaim, the Zuzim in Ham, the Emim in Shaveh-kiriathaim, 6 and the Horites in their hill country of Seir as far as El-paran on the border of the wilderness. 7 Then they turned back and came to En-mishpat (that is, Kadesh) and defeated all the country of the Amalekites, and also the Amorites who were dwelling in Hazazon-tamar.
8 Then the king of Sodom, the king of Gomorrah, the king of Admah, the king of Zeboiim, and the king of Bela (that is, Zoar) went out, and they joined battle in the Valley of Siddim 9 with Chedorlaomer king of Elam, Tidal king of Goiim, Amraphel king of Shinar, and Arioch king of Ellasar, four kings against five. 10 Now the Valley of Siddim was full of bitumen pits, and as the kings of Sodom and Gomorrah fled, some fell into them, and the rest fled to the hill country. 11 So the enemy took all the possessions of Sodom and Gomorrah, and all their provisions, and went their way. 12 They also took Lot, the son of Abram's brother, who was dwelling in Sodom, and his possessions, and went their way.
13 Then one who had escaped came and told Abram the Hebrew, who was living by the oaks of Mamre the Amorite, brother of Eshcol and of Aner. These were allies of Abram. 14 When Abram heard that his kinsman had been taken captive, he led forth his trained men, born in his house, 318 of them, and went in pursuit as far as Dan. 15 And he divided his forces against them by night, he and his servants, and defeated them and pursued them to Hobah, north of Damascus. 16 Then he brought back all the possessions, and also brought back his kinsman Lot with his possessions, and the women and the people. (ESV)