The Philistines gathered their armies together for war. They met at Socoh in Judah. Their camp was between Socoh and Azekah, at a town called Ephes Dammim.
King Adoni Zedek of Jerusalem talked with King Hoham of Hebron. He also talked with King Piram of Jarmuth, King Japhia of Lachish, and King Debir of Eglon. The king of Jerusalem begged these men,
The Lord caused those armies to be very confused when Israel attacked. So Israel defeated them and won a great victory. Israel chased the enemy from Gibeon along the road going up to Beth Horon. The army of Israel killed men all the way to Azekah and Makkedah.