Joshua 10:30

And Jehovah delivered it also, and its king, into the hand of Israel. And he struck it with the edge of the sword, and every soul in it. He let none remain in it, but did to its king 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 struck it with the edge of the sword, and he utterly destroyed the king of it, them, and every soul 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 completely destroyed all 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 you shall do to Ai and its king as you did to Jericho and its king. Only its spoil and its cattle you shall take for a prize for yourselves. Lay an ambush for the city behind it.