About this time war broke out in the region. King Amraphel of Babylonia, King Arioch of Ellasar, King Kedorlaomer of Elam, and King Tidal of Goiim
References for Genesis 14:1
fought against King Bera of Sodom, King Birsha of Gomorrah, King Shinab of Admah, King Shemeber of Zeboiim, and the king of Bela (now called Zoar).
The kings of Sodom, Gomorrah, Admah, Zeboiim, and Bela formed an alliance and mobilized their armies in Siddim Valley (that is, the valley of the Dead Sea ).
References for Genesis 14:3
For twelve years they had all been subject to King Kedorlaomer, but now in the thirteenth year they rebelled.
One year later, Kedorlaomer and his allies arrived. They conquered the Rephaites in Ashteroth-karnaim, the Zuzites in Ham, the Emites in the plain of Kiriathaim,
and the Horites in Mount Seir, as far as El-paran at the edge of the wilderness.
Then they swung around to En-mishpat (now called Kadesh) and destroyed the Amalekites, and also the Amorites living in Hazazon-tamar.
But now the army of the kings of Sodom, Gomorrah, Admah, Zeboiim, and Bela (now called Zoar) prepared for battle in the valley of the Dead Sea
References for Genesis 14:8
against King Kedorlaomer of Elam and the kings of Goiim, Babylonia, and Ellasar -- four kings against five.
As it happened, the valley was filled with tar pits. And as the army of the kings of Sodom and Gomorrah fled, some slipped into the tar pits, while the rest escaped into the mountains.
The victorious invaders then plundered Sodom and Gomorrah and began their long journey home, taking all the wealth and food with them.
They also captured Lot -- Abram's nephew who lived in Sodom -- and took everything he owned.
One of the men who escaped came and told Abram the Hebrew, who was camped at the oak grove belonging to Mamre the Amorite. Mamre and his relatives, Eshcol and Aner, were Abram's allies.
When Abram learned that Lot had been captured, he called together the men born into his household, 318 of them in all. He chased after Kedorlaomer's army until he caught up with them in Dan.
There he divided his men and attacked during the night from several directions. Kedorlaomer's army fled, but Abram chased them to Hobah, north of Damascus.
Abram and his allies recovered everything -- the goods that had been taken, Abram's nephew Lot with his possessions, and all the women and other captives.
As Abram returned from his victory over Kedorlaomer and his allies, the king of Sodom came out to meet him in the valley of Shaveh (that is, the King's Valley).
Then Melchizedek, the king of Salem and a priest of God Most High, brought him bread and wine.
Melchizedek blessed Abram with this blessing: "Blessed be Abram by God Most High, Creator of heaven and earth.
And blessed be God Most High, who has helped you conquer your enemies." Then Abram gave Melchizedek a tenth of all the goods he had recovered.
The king of Sodom told him, "Give back my people who were captured. But you may keep for yourself all the goods you have recovered."
Abram replied, "I have solemnly promised the LORD, God Most High, Creator of heaven and earth,
that I will not take so much as a single thread or sandal thong from you. Otherwise you might say, 'I am the one who made Abram rich!'
All I'll accept is what these young men of mine have already eaten. But give a share of the goods to my allies -- Aner, Eshcol, and Mamre."