Then Joshua turned back at that time, and he captured Hazor and struck its king with the sword, because Hazor formerly was the head of all these kingdoms.