23 So they did so, and brought out those five kings to him from the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon.
24 When they brought out those kings to Joshua, Joshua summoned all the men of Israel and said to the chiefs of the men of war who had gone with him, “Come forward and put your feet on the necks of these kings.” So they came forward and put their feet on their necks.
25 Then Joshua said to them, “Never fear or be dismayed. Chazak! Be strong! For thus will Adonai do to all your enemies whom you will fight.”
26 After this, Joshua struck them and put them to death, then hanged them on five trees, and they remained hanging on the trees until evening.
27 It came about at sunset that Joshua commanded that they be taken down from the trees and thrown into the cave where they had hidden themselves. Then they placed large stones at the mouth of the cave which are there to this very day.
28 On that day Joshua captured Makkedah and struck it and its king with the edge of the sword, putting it and every single soul in it under a ban of destruction, leaving no survivors. So he did to the king of Makkedah as he had done to the king of Jericho.
29 Then Joshua and all Israel with him passed on from Makkedah to Libnah and fought against Libnah.