20 So Joshua and the Israelites defeated them completely, but a few survivors managed to reach their fortified cities.
21 The whole army then returned safely to Joshua in the camp at Makkedah, and no one uttered a word against the Israelites.
22 Joshua said, “Open the mouth of the cave and bring those five kings out to me.”
23 So they brought the five kings out of the cave—the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon.
24 When they had brought these kings to Joshua, he summoned all the men of Israel and said to the army commanders who had come with him, “Come here and put your feet on the necks of these kings.” So they came forward and placed their feet on their necks.
25 Joshua said to them, “Do not be afraid; do not be discouraged. Be strong and courageous. This is what the Lord will do to all the enemies you are going to fight.”
26 Then Joshua put the kings to death and exposed their bodies on five poles, and they were left hanging on the poles until evening.