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