And the Lord threw them into a panic before Israel, who slew them with a great slaughter at Gibeon, and chased them by the way of the ascent of Beth-horon, and smote them as far as Azekah and Makkedah.
And they did so, and brought those five kings out to him from the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.
So Adoni-zedek king of Jerusalem sent to Hoham king of Hebron, to Piram king of Jarmuth, to Japhia king of Lachish, and to Debir king of Eglon, saying,
Now the Philistines gathered their armies for battle; and they were gathered at Socoh, which belongs to Judah, and encamped between Socoh and Azekah, in Ephes-dammim.