Joshua 10:30

Jehovah delivered it and the king into the hand of Israel. He struck it with the edge of the sword, and all the persons who lived there. He let none remain: and he did to the king of Libnah as he did 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
That day Joshua struck Makkedah with the edge of the sword. The king was destroyed all the people who lived there. He let none remain: and he did to the king of Makkedah the same as he did to the king of Jericho.
Joshua 6:21
They utterly destroyed all that was in the city, both man and woman, young and old, and ox, and sheep, and ass, with the edge of the sword.
Joshua 8:2
Do to Ai and her king what you did to Jericho and her king. Take the spoil and the cattle for yourselves. Lay an ambush for the city behind it.