Joshua 10:28

ISV(i) 28 Joshua captured Makkedah that very day, and attacked both it and its king with swords, utterly destroying it along with every person in it, leaving no survivors. He dealt with the king of Makkedah the same way he had dealt with the king of Jericho.