Joshua 10:30

and Yahweh delivered, it also, into the hand of Israel, with the king thereof, and he smote it with the edge of the sword, with all the souls that were therein, he left therein no survivor, - but did unto the king thereof, as he had done unto 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 Joshua captured, Makkedah, on that day, and smote it with the edge of the sword, and, the king thereof, devoted he to destruction, them and all the souls that were therein, he left no survivor, - but did unto the king of Makkedah, as he had done unto the king of Jericho.
Joshua 6:21
And they devoted all that were in the city, both man and woman, both young and old, - and ox and sheep and ass, with the edge of the sword.
Joshua 8:2
so shalt thou do unto Ai and to her king, as thou didst unto Jericho unto her king, save only, the spoil thereof and the cattle thereof, shall ye take as your own prey, - set thee an ambush for the city, behind it.