and he took it, and the king of it, and all the cities of it; and they struck them with the edge of the sword, and utterly destroyed all the souls who were therein; he left none remaining: as he had done to Hebron, so he did to Debir, and to the king of it; as he had done also to Libnah, and to the king of it.
So God demonstrated here in a very powerful way, His interest, His presence, to Joshua and to the people.Now having conquered these kings, they really at this point conquered the major enemies within the land. The major conquests were made all at this one shot when these kings came out against them. So from there on, it was almost like going out and mopping up. "