J oshua made war a long time with all those kings.
Joshua waged war a long time with all these kings.