The Philistines also raided the cities of the Judean foothills and the Negev of Judah and captured Beth-shemesh, Aijalon, Gederoth, Soco and its villages, Timnah and its villages, Gimzo and its villages, and they lived there.
Now when Job’s three friends — Eliphaz the Temanite, Bildad the Shuhite, and Zophar the Naamathite — heard about all this adversity that had happened to him, each of them came from his home. They met together to go and sympathize with him and comfort him.
The Lord threw them into confusion before Israel. He defeated them in a great slaughter at Gibeon, chased them through the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah.
On that day Joshua captured Makkedah and struck it down with the sword, including its king. He completely destroyed it and everyone in it, leaving no survivors. So he treated the king of Makkedah as he had the king of Jericho.