They took the city, its king and its villages. They totally destroyed everyone in Debir with their swords. They didn't leave anyone alive. They did to Debir and its king the same thing they had done to Libnah and its king. They had also done the same thing to Hebron.