They captured it that day and struck it down with the sword. He devoted everyone in it to destruction that day, just as he had done to Lachish.
In context
33Meanwhile Horam king of Gezer came up to help Lachish, but Joshua struck him and his people down, leaving him no survivor. 34Then Joshua, and all Israel with him, moved on from Lachish to Eglon. They camped against it and attacked it. 35They captured it that day and struck it down with the sword. He devoted everyone in it to destruction that day, just as he had done to Lachish. 36Then Joshua, and all Israel with him, went up from Eglon to Hebron and attacked it. 37They captured it and struck it down with the sword, its king, all its towns, and everyone in it, leaving no survivor — just as he had done to Eglon. He devoted it and everyone in it to destruction.