The departure of Lot had a serious consequence, for the war waged by Abraham against the four kings is intimately connected with it. Lot desired to settle in the well-watered circle of the Jordan, but the only city of the plain that would receive him was Sodom, the king of which admitted the nephew of Abraham out of consideration for the latter. The five impious kings planned first to make war upon Sodom on account of Lot and then advance upon Abraham.

For one of the five, Amraphel, was none other than Nimrod, Abraham's enemy from of old. The immediate occasion for the war was this: Chedorlaomer, one of Nimrod's generals, rebelled against him after the builders of the tower were dispersed, and he set himself up as king of Elam. Then he subjugated the Hamitic tribes living in the five cities of the plain of the Jordan, and made them tributary. For twelve years they were faithful to their sovereign ruler Chedorlaomer, but then they refused to pay the tribute, and they persisted in their insubordination for thirteen years.

Making the most of Chedorlaomer's embarrassment, Nimrod led a host of seven thousand warriors against his former general. In the battle fought between Elam and Shinar, Nimrod suffered a disastrous defeat, he lost six hundred of his army, and among the slain was the king's son Mardon. Humiliated and abased, he returned to his country, and he was forced to acknowledge the suzerainty of Chedorlaomer, who now proceeded to form an alliance with Arioch king of Ellasar, and Tidal, the king of several nations, the purpose of which was to crush the cities of the circle of the Jordan.

The united forces of these kings, numbering eight hundred thousand, marched upon the five cities, subduing whatever they encountered in their course, and annihilating the descendants of the giants. Fortified places, unwalled cities, and flat, open country, all fell in their hands. They pushed on through the desert as far as the spring issuing from the rock at Kadesh, the spot appointed by God as the place of pronouncing judgment against Moses and Aaron on account of the waters of strife.

Thence they turned toward the central portion of Palestine, the country of dates, where they encountered the five godless kings, Bera, the villain, king of Sodom; Birsha, the sinner, king of Gomorrah; Shinab, the father-hater, king of Admah; Shemeber, the voluptuary, king of Zeboiim; and the king of Bela, the city that devours its inhabitants. The five were routed in the fruitful Vale of Siddim, the canals of which later formed the Dead Sea.

They that remained of the rank and file fled to the mountains, but the kings fell into the slime pits and stuck there. Only the king of Sodom was rescued, miraculously, for the purpose that he might convert those heathen to faith in God that had not believed in the wonderful deliverance of Abraham from the fiery furnace.