Now the five kings had fled1 and hidden in the cave at Makkedah.
References for Joshua 10:16
When Joshua was told that the five kings had been found hiding in the cave at Makkedah,
he said, "Roll large rocks up to the mouth of the cave, and post some men there to guard it.
But don't stop! Pursue your enemies, attack them from the rear and don't let them reach their cities, for the LORD your God has given them into your hand."
So Joshua and the Israelites destroyed them completely2--almost to a man--but the few who were left reached their fortified cities.3
References for Joshua 10:20
The whole army then returned safely to Joshua in the camp at Makkedah, and no one uttered a word against the Israelites.
Joshua said, "Open the mouth of the cave and bring those five kings out to me."
So they brought the five kings out of the cave--the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon.
When they had brought these kings4 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 feet5 on the necks of these kings." So they came forward and placed their feet6 on their necks.
References for Joshua 10:24
Joshua said to them, "Do not be afraid; do not be discouraged. Be strong and courageous.7 This is what the LORD will do to all the enemies you are going to fight."
References for Joshua 10:25
Then Joshua struck and killed the kings and hung them on five trees, and they were left hanging on the trees until evening.
At sunset8 Joshua gave the order and they took them down from the trees and threw them into the cave where they had been hiding. At the mouth of the cave they placed large rocks, which are there to this day.9
References for Joshua 10:27
That day Joshua took Makkedah. He put the city and its king to the sword and totally destroyed everyone in it. He left no survivors.10 And he did to the king of Makkedah as he had done to the king of Jericho.11
References for Joshua 10:28