That day Joshua defeated Makkedah. He killed the king and completely destroyed all the people in that city as an offering to the Lord; no one was left alive. He did the same thing to the king of Makkedah that he had done to the king of Jericho.