That same day Joshua captured Makkedah and struck it down with the sword. He devoted its king and everyone in it to destruction, leaving no survivor. He did to the king of Makkedah as he had done to the king of Jericho.
In context
26After this, Joshua struck the kings down and put them to death, and hanged them on five trees. They hung on the trees until evening. 27At sunset Joshua gave the order, and they took them down from the trees and threw them into the cave where they had hidden. They put large stones over the mouth of the cave, which remain there to this very day. 28That same day Joshua captured Makkedah and struck it down with the sword. He devoted its king and everyone in it to destruction, leaving no survivor. He did to the king of Makkedah as he had done to the king of Jericho. 29Then Joshua, and all Israel with him, moved on from Makkedah to Libnah and fought against Libnah. 30Yahweh gave that city too, with its king, into the hand of Israel. He struck it down with the sword and everyone in it, leaving no survivor, and did to its king as he had done to the king of Jericho.