Joshua 10:30

and Jehovah giveth also it into the hand of Israel, and its king, and it smiteth it by the mouth of the sword, and every person who is in it -- it left not in it a remnant; and it doth to its king as it 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 Makkedah hath Joshua captured on that day, and he smiteth it by the mouth of the sword, and its king he hath devoted, them and every person who is in it -- he hath not left a remnant; and he doth to the king of Makkedah as he did to the king of Jericho.
Joshua 6:21
and they devote all that is in the city, from man even unto woman, from young even unto aged, even unto ox, and sheep, and ass, by the mouth of the sword.
Joshua 8:2
and thou hast done to Ai and to her king as thou hast done to Jericho and to her king; only, its spoil and its cattle ye spoil for yourselves; set for thee an ambush for the city at its rear.'