22 And Joshua said, “Open the mouth of the cave, and bring to me those five kings from the cave.”
23 And they did so, and brought him these five kings from the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.
24 And when they brought these kings to Joshua, Joshua called all the men of Israel and said to the commanders of the fighting men who had gone with him, “Come near, put your feet on the necks of these kings.” So they came near and put their feet on their necks.
25 And Joshua said to them, “Do not be afraid or dismayed! Be strong and bold, for thus Yahweh will do to all your enemies whom you are about to fight.
26 And after this Joshua struck them down and killed them, and he hanged them on five trees. And they were hanging on the trees until the evening.
27 And it happened at the time of sunset, Joshua commanded, and they took them down from the trees and threw them into the cave where they had hidden themselves, and they put large stones against the mouth of the cave, which are there to this very day.
28 Joshua captured Makkedah on that day, and he struck it and its king with the edge of the sword; he utterly destroyed it and everyone that was in it. He did not leave behind a survivor. So he did to the king of Makkedah just as he did to the king of Jericho.