38Finally Joshua and all Israel with him turned toward Debir and fought against it.
39And they captured Debir, its king, and all its villages. They put them to the sword and devoted to destruction everyone in the city, leaving no survivors. Joshua did to Debir and its king as he had done to Hebron and as he had done to Libnah and its king.
— Joshua 10:38-39