27When it was sunset, Joshua gave orders, and they took them down from the trees and threw them into the cave where they had hidden themselves. They put large stones over the mouth of the cave. Those stones remain there to this very day.
28In this way, Joshua captured Makkedah on that day and killed everyone there with the sword, including its king. He completely destroyed everyone in it. He left no survivor in it. He did to the king of Makkedah just as he had done to the king of Jericho.
29Joshua and all Israel passed on from Makkedah to Libnah. He went into battle against Libnah.
30Yahweh also gave it into the hand of Israel—along with their king. Joshua struck it with the edge of the sword and every person in it. He left no survivor in it. He did to its king just as he had done to the king of Jericho.
31Then Joshua and all Israel with him passed on from Libnah to Lachish. He camped by it and waged war against it.
32Yahweh gave Lachish into the hand of Israel. Joshua captured it on the second day and struck it with the edge of the sword, and every person in it, just as he had done to Libnah.
33Then Horam, king of Gezer, came up to help Lachish. Joshua attacked him and his army until there was not even one survivor left.
34Then Joshua and all Israel passed on from Lachish to Eglon. They camped by it and waged war against it,
35and captured it that same day. They struck it with the edge of the sword and they completely destroyed everyone in it, as Joshua had done to Lachish.
36Then Joshua and all Israel passed on from Eglon to Hebron. They waged war against it.
37They captured it and struck it with the edge of the sword, and its king and its villages, and everyone in it. They left no survivor it, as they had done to Eglon, they totally destroyed it and every person in it.
38Then Joshua turned, and all the army of Israel with him, and they passed on to Debir and waged war against it.
39They captured it, its king and all its nearby villages. They struck them with the edge of the sword and completely destroyed every person in it. They left no survivor. They did to Debir and its king as they had done to Libnah and its king and to Hebron.
40Joshua conquered all the land, the hill country, the Negev, the lowlands, and the foothills. Of all their kings he left not one survivor. He completely destroyed every living thing, just as Yahweh, the God of Israel, had commanded.