Joshua 10:30

The Lord gave it also along with its king into the hands of Israel, and Joshua struck it and every person who was in it with the edge of the sword. He left no survivor in it. So he did to the king of Libnah just as he had done to the king of Jericho.

Treasury of Scripture Knowledge

Summary

And the LORD delivered it also, and the king thereof, into the hand of Israel; and he smote it with the edge of the sword, and all the souls that were therein; he let none remain in it; but did unto the king thereof as he did unto the king of Jericho.

Bible References

As he did

Joshua 10:28
Now Joshua captured Makkedah on that day, and struck it and its king with the edge of the sword; he utterly destroyed it and everyone who was in it. He left no survivor. So he did to the king of Makkedah just as he had done to the king of Jericho.
Joshua 6:21
Then they utterly destroyed everything that was in the city, both man and woman, young and old, and ox and sheep and donkey, with the edge of the sword.
Joshua 8:2
You shall do [the same] to Ai and its king as you did to Jericho and its king; [except that] you shall take only its spoil and its cattle as plunder for yourselves. Set up an ambush for the city behind it [on the west side].”