In those days Amraphel king of Shinar, Arioch king of Ellasar, Chedorlaomer king of Elam, and Tidal king of Goiim
waged war against Bera king of Sodom, Birsha king of Gomorrah, Shinab king of Admah, and Shemeber king of Zeboiim, as well as the king of Bela (that is, Zoar).
All of these came as allies to the Valley of Siddim (that is, the Dead Sea).
They were subject to Chedorlaomer for 12 years, but in the thirteenth year they rebelled.
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,
and the Horites in the mountains of Seir, as far as El-paran by the wilderness.
Then they came back to invade En-mishpat (that is, Kadesh), and they defeated all the territory of the Amalekites, as well as the Amorites who lived in Hazazon-tamar.
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 lined up for battle in the Valley of Siddim
against Chedorlaomer king of Elam, Tidal king of Goiim, Amraphel king of Shinar, and Arioch king of Ellasar-four kings against five.
Now the Valley of Siddim contained many asphalt pits, and [as] the kings of Sodom and Gomorrah fled, [some] fell into them, but the rest fled to the mountains.
The [four kings] took all the goods of Sodom and Gomorrah and all their food and went on.
They also took Abram's nephew Lot and his possessions, for he was living in Sodom, and they went on.
One of the survivors came and told Abram the Hebrew, who was at the oaks belonging to Mamre the Amorite, the brother of Eshcol and the brother of Aner. They were bound by a treaty with Abram.
When Abram heard that his relative had been taken prisoner, he assembled his 318 trained men, born in his household, and they went in pursuit as far as Dan.
And he and his servants deployed against them by night, attacked them, and pursued them as far as Hobah to the north of Damascus.
He brought back all the goods and also his relative Lot and his goods, as well as the women and the [other] people.