20 Joshua and the Israelites finished dealing them a stunning blow until they were finished off. Some survivors among them escaped into the fortified cities.
21 Then the whole people came back safely to Joshua in the camp at Makkedah. Not a single person threatened the Israelites.
22 Joshua said, "Open up the mouth of the cave. Bring those five kings out of the cave to me."
23 They did so. They brought the five kings out of the cave to him: the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
24 When they brought these kings out to Joshua, Joshua called for every Israelite. He said to the military commanders who had gone out with him, "Come forward. Put your feet on the necks of these kings." So they went forward and put their feet on their necks.
25 Then Joshua said to them, "Don’t be afraid or terrified. Be brave and strong, because this is how the Lord will deal with all the enemies you fight."
26 Next, Joshua struck them down. He put them to death and then hanged them on five trees. They were hanging on the trees until evening.