17When Joshua was told that the five kings were hiding in a cave at Makkedah,
18he gave this order, “Roll some large stones to block the entrance to the cave and have some men guard it.
19But don't you stay there. Chase the enemy down and attack them from the rear. Don't let them escape to their towns for the Lord has given them to you to defeat.”
20So Joshua and the Israelites totally defeated them, striking them down and killing them. Only a few of them survived to escape back to their towns.
21The army returned to Joshua at the camp at Makkedah, and no one dared even to threaten the Israelites.
22Then Joshua said, “Open the cave entrance and bring out the five kings to me from the cave.”