Joshua 10:20-22
10:20 Joshua and the Israelites almost totally wiped them out, but some survivors did escape to the fortified cities.
10:21 Then the whole army safely returned to Joshua at the camp in Makkedah. No one dared threaten the Israelites.
10:22 Joshua said, “Open the cave’s mouth and bring the five kings out of the cave to me.”