That day they captured Eglon and it struck down with the sword, and Joshua devoted to destruction everyone in the city, just as he had done to Lachish.