Joshua 10:21

10:21 Then the whole army safely returned to Joshua at the camp in Makkedah. No one dared threaten the Israelites.

Joshua 10:28

Joshua Launches a Southern Campaign

10:28 That day Joshua captured Makkedah and put the sword to it and its king. He annihilated everyone who lived in it; he left no survivors. He did to its king what he had done to the king of Jericho.