Joshua campaigned against these kings for quite some time.