Josh 10:36-39

36Then Joshua went up with all Israel from Eglon to Hebron; they assaulted it,37and took it, and struck it with the edge of the sword, and its king and its towns, and every person in it; he left no one remaining, just as he had done to Eglon, and utterly destroyed it with every person in it.38Then Joshua, with all Israel, turned back to Debir and assaulted it,39and he took it with its king and all its towns; they struck them with the edge of the sword, and utterly destroyed every person in it; he left no one remaining; just as he had done to Hebron, and, as he had done to Libnah and its king, so he did to Debir and its king.