Then the rebel kings of Sodom, Gomorrah, Admah, Zeboiim, and Bela (also called Zoar) prepared for battle in the valley of the Dead Sea.
They fought against King Kedorlaomer of Elam, King Tidal of Goiim, King Amraphel of Babylonia, and King Arioch of Ellasar—four kings against five.
As it happened, the valley of the Dead Sea was filled with tar pits. And as the army of the kings of Sodom and Gomorrah fled, some fell into the tar pits, while the rest escaped into the mountains.
The victorious invaders then plundered Sodom and Gomorrah and headed for home, taking with them all the spoils of war and the food supplies.
They also captured Lot—Abram’s nephew who lived in Sodom—and carried off everything he owned.
But one of Lot’s men escaped and reported everything to Abram the Hebrew, who was living near the oak grove belonging to Mamre the Amorite. Mamre and his relatives, Eshcol and Aner, were Abram’s allies.
When Abram heard that his nephew Lot had been captured, he mobilized the 318 trained men who had been born into his household. Then he pursued Kedorlaomer’s army until he caught up with them at Dan.
There he divided his men and attacked during the night. Kedorlaomer’s army fled, but Abram chased them as far as Hobah, north of Damascus.
Abram recovered all the goods that had been taken, and he brought back his nephew Lot with his possessions and all the women and other captives.
After Abram returned from his victory over Kedorlaomer and all his allies, the king of Sodom went out to meet him in the valley of Shaveh (that is, the King’s Valley).
And Melchizedek, the king of Salem and a priest of God Most High, brought Abram some bread and wine.