When Joshua and the Israelites had finished inflicting a very great defeat on them, until they were wiped out, and the survivors who remained had reached the fortified cities,
In context
18Joshua said, “Roll large stones against the mouth of the cave, and post men there to guard it. 19But you — do not stay there. Pursue your enemies, attack them from the rear, and do not let them reach their cities, for Yahweh your God has given them into your hand.” 20When Joshua and the Israelites had finished inflicting a very great defeat on them, until they were wiped out, and the survivors who remained had reached the fortified cities, 21all the people returned safely to the camp, to Joshua at Makkedah. No one dared say a word against any of the Israelites. 22Then Joshua said, “Open the mouth of the cave and bring those five kings out to me.”