20 When Joshua and the children of Israel had finished striking them with overwhelming force until they were completely defeated, the survivors escaped from them and went back to their fortified cities.
21 Then all the people returned safely to Joshua at the Makkedah settlement, and no one spoke against any of the children of Israel.
22 Joshua said, “Open the mouth of the cave, and bring out to me those five kings from the cave.”
23 They did this, and they brought out those five kings from the cave: the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
24 When they brought out those five kings to Joshua, he called out to all the men of Israel and the army commanders, “Come here and place your feet on the necks of these kings.” So they came near and placed their feet on their necks.
25 Then Joshua said to them, “Do not be afraid or dismayed. Be strong and courageous! For this is what the Lord will do to all your enemies against whom you fight.”
26 After that, Joshua struck them down, killed them, and hung them on five trees. They were hanging on the trees until evening.