16 Then those five kings fled and hid in the cave at Makkedah.
17 It was reported to Joshua, "The five kings have been found, hidden in the cave at Makkedah."
18 Joshua said, "Roll large stones over the mouth of the cave. Station some men by it to guard them,
19 but don’t you stay there. Chase after your enemies and attack them from the rear. Don’t let them enter their cities, because the Lord your God has given them into your power."
20 Joshua and the Israelites finished dealing them a stunning blow until they were finished off. Some survivors among them escaped into the fortified cities.
21 Then the whole people came back safely to Joshua in the camp at Makkedah. Not a single person threatened the Israelites.
22 Joshua said, "Open up the mouth of the cave. Bring those five kings out of the cave to me."