On that day Joshua captured Makkedah and struck it down with the sword, along with its king. He completely destroyed it and everyone in it, leaving no survivors. So he did to the king of Makkedah as he had done to the king of Jericho.