Joshua and all Israel turned to Debir and fought against it.