David therefore departed from there and escaped to the cave of Adullam. So when his brothers and all his father’s house heard it, they went down there to him.
Now the Philistines gathered their armies together to battle, and were gathered at Sochoh, which belongs to Judah; they encamped between Sochoh and Azekah, in Ephes Dammim.
(His wife Jehudijah bore Jered the father of Gedor, Heber the father of Sochoh, and Jekuthiel the father of Zanoah.) And these were the sons of Bithiah the daughter of Pharaoh, whom Mered took.
And they did so, and brought out those five kings 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 the Lord routed them before Israel, killed them with a great slaughter at Gibeon, chased them along the road that goes to Beth Horon, and struck them down as far as Azekah and Makkedah.