Joshua 10:30-36 New King James Version (NKJV)

30. And the Lord also delivered it and its king into the hand of Israel; he struck it and all the people who were in it with the edge of the sword. He let none remain in it, but did to its king as he had done to the king of Jericho.

31. Then Joshua passed from Libnah, and all Israel with him, to Lachish; and they encamped against it and fought against it.

32. And the Lord delivered Lachish into the hand of Israel, who took it on the second day, and struck it and all the people who were in it with the edge of the sword, according to all that he had done to Libnah.

33. Then Horam king of Gezer came up to help Lachish; and Joshua struck him and his people, until he left him none remaining.

34. From Lachish Joshua passed to Eglon, and all Israel with him; and they encamped against it and fought against it.

35. They took it on that day and struck it with the edge of the sword; all the people who were in it he utterly destroyed that day, according to all that he had done to Lachish.

36. So Joshua went up from Eglon, and all Israel with him, to Hebron; and they fought against it.

Joshua 10