22Then Joshua said, “Open the cave entrance and bring out the five kings to me from the cave.”
23So they did, bringing out the five kings from the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
24When they had brought the kings to Joshua, he summoned all the fighting men, and said to the commanders who had gone with him, “Come here, and put your feet on the necks of these kings.” So they came over and put their feet on their necks.
25Joshua said to them, “Don't ever be afraid or discouraged! Be strong and be brave! For the Lord is going to do the same thing to all your enemies that you're going to fight!”
26Then Joshua killed the kings and hung their bodies on five trees and left them hanging there until the evening.
27As the sun went down Joshua gave the order to take their bodies down from the trees and throw them into the cave where they had been hiding. Then the Israelites piled up stones over the entrance to the cave, and they are there to this very day.