20 So Joshua and the men of Israel completely destroyed them. They killed almost every one of them. But a few escaped. They went back to their cities that had high walls around them.
21 Then Israel's whole army returned safely to Joshua. He was in the camp at Makkedah. No one in the land dared to say anything against the people of Israel.
22 Joshua said, "Open up the cave. Bring those five kings out to me."
23 So Joshua's men brought the five kings out of the cave. They were the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon.
24 The men brought them to Joshua. Then he sent for all of the men of Israel. He spoke to the army commanders who had come with him. He said, "Come here. Put your feet on the necks of these kings." So they came forward and placed their feet on the necks of the kings.
25 Joshua said to them, "Don't be afraid. Don't lose hope. Be strong and brave. This is what the Lord will do to all of the enemies you are going to fight."
26 Joshua struck the five kings down and killed them. He stuck a pole through each of their bodies. Then he set the poles up where people could see the bodies. He left them there until evening.