At that time [four kings]--King Amraphel of Shinar, King Arioch of Ellasar, King Chedorlaomer of Elam, and King Tidal of Goiim--
went to war against [five kings]--King Bera of Sodom, King Birsha of Gomorrah, King Shinab of Admah, King Shemeber of Zeboiim, and the king of Bela (that is, Zoar).
The five kings joined forces and met in the valley of Siddim (that is, the Dead Sea).
For 12 years they had been subject to Chedorlaomer, but in the thirteenth year they rebelled.
In the fourteenth year Chedorlaomer and his allies came and defeated the Rephaim at Ashteroth Karnaim, the Zuzim at Ham, the Emim at Shaveh Kiriathaim,
and the Horites in the hill country of Seir, going as far as El Paran on the edge of the desert.
On their way back, they came to En Mishpat (that is, Kadesh), and they conquered the whole territory of the Amalekites and also the Amorites who were living at Hazazon Tamar.
Then the kings of Sodom, Gomorrah, Admah, Zeboiim, and Bela (that is, Zoar) marched out and prepared for battle in the valley of Siddim.
They fought against King Chedorlaomer of Elam, King Tidal of Goiim, King Amraphel of Shinar, and King Arioch of Ellasar--four kings against five.
The valley of Siddim was full of tar pits. As the kings of Sodom and Gomorrah fled, they fell because of the tar pits, but the other kings fled to the hills.
So the four kings took all the possessions of Sodom and Gomorrah, as well as all their food, and left.
They also took Abram's nephew Lot and his possessions since he was living in Sodom.
Then a soldier who had escaped came and told Abram the Hebrew what had happened. He was living next to the oak trees belonging to Mamre the Amorite, a brother of Eshcol and Aner. (These men were Abram's allies.)
When Abram heard that his nephew had been captured, he armed his 318 trained men, born in his own household, and pursued the four kings all the way to Dan.
He split up his men to attack them at night. He defeated them, pursuing them all the way to Hobah, which is north of Damascus.
He brought back everything they had, including women and soldiers. He also brought back his relative Lot and his possessions.
After Abram came back from defeating Chedorlaomer and his allies, the king of Sodom came out to meet him in the Shaveh Valley (that is, the King's Valley).
Then King Melchizedek of Salem brought out bread and wine. He was a priest of God Most High.
He blessed Abram, and said, "Blessed is Abram by God Most High, maker of heaven and earth.
Blessed is God Most High, who has handed your enemies over to you." Then Abram gave him a tenth of everything.
The king of Sodom said to Abram, "Give me the people, and keep everything else for yourself."
But Abram said to the king of Sodom, "I now raise my hand and solemnly swear to the LORD God Most High, maker of heaven and earth,
that I won't take a thread or a sandal strap. I won't take anything that is yours so that you will never be able to say, 'I made Abram rich.'
I won't take one single thing except what my men have eaten. But let my allies Aner, Eshcol, and Mamre take their share."