Then Joshua and all Israel with him moved on from Libnah to Lachish; he took up positions against it and attacked it.
References for Joshua 10:31
The LORD gave Lachish into Israel’s hands, and Joshua took it on the second day. The city and everyone in it he put to the sword, just as he had done to Libnah.
Meanwhile, Horam king of Gezer had come up to help Lachish, but Joshua defeated him and his army—until no survivors were left.
References for Joshua 10:33