Joshua waged war against all these kings for a long period of time.