Then the men in the city came out to engage them in battle, so they were now in the middle, with Israel on each side. Israel struck them down until neither survivors nor escapees were left.
and when the Lord your God delivers them before you and you strike them down, then you must utterly destroy them. You shall make no covenant with them nor show mercy to them.
Joshua took Makkedah that day and struck it and its king with the edge of the sword. He destroyed it and all life within it. He did not leave any survivors. He did to the king of Makkedah just as he did to the king of Jericho.