Then Joshua, and all Israel with him, moved on from Lachish to Eglon. They camped against it and attacked it.
In context
32Yahweh gave Lachish into the hand of Israel, and he captured it on the second day, striking it down with the sword, along with everyone in it, just as he had done to Libnah. 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.