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