Joshua 10:30

And the LORD delivered it also, and its king, into the hand of Israel; and he smote it with the edge of the sword, and all the souls that were in it; he let none remain in it; but did to the king of it 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
And that day Joshua took Makkedah, and smote it with the edge of the sword, and the king of it he utterly destroyed, them, and all the souls that were in it; he let none remain: and he did to the king of Makkedah as he did to the king of Jericho.
Joshua 6:21
And 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
And thou shalt do to Ai and her king, as thou didst to Jericho and her king: only its spoil, and its cattle, shall ye take for a prey to yourselves: lay thee an ambush for the city behind it.