These kings went to war against Bera king of Sodom, Birsha king of Gomorrah, Shinab king of Admah, Shemeber king of Zeboyim, and the king of Bela (that is, Zoar).
Genesis14:2 (NIV)
Genesis 14 gives us a picture of war, and the rabbis tell us that the first 4 kings represent Empires, and the five kings represent wickedness.
ברע BERA —Evil (רע) towards God and evil towards mankind (Midrash Tanchuma, Lech Lecha 8).
ברשע BIRSHA — Because he rose by means of wickedness (רָשַׁע) (Midrash Tanchuma, Lech Lecha 8)).
שנאב SHINAB — He hated (שנא) his Father (אב) in heaven (Midrash Tanchuma, Lech Lecha 8)).
שמאבר SHEMEBER — He set his wings (שם אבר) to fly, flapping them to rebel against the Holy One, blessed be He (Midrash Tanchuma, Lech Lecha 8)).
Rashi on Genesis 14:2
Later we are told that God raises up Empires to punish wickedness, and that’s how this story plays out.
There is wisdom hidden here.