When the Lord your God has handed them over to you to defeat them, then you must set them apart for destruction. Don't make any peace treaty with them and don't show them any mercy.
That day Joshua captured Makkedah, killing all its inhabitants, including the king. He set it apart and completely destroyed it and everyone in it, leaving no survivors. He killed the king of Makkedah just as he had killed the king of Jericho.