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.
And God gave the city and its ruler to Israel too. They fought with swords and killed everyone inside. No one was left alive. They treated the ruler the same way they treated the ruler of Jericho.