2 they came together to wage war against Joshua and Israel.

Read Joshua 9:2 Using Other Translations

That they gathered themselves together, to fight with Joshua and with Israel, with one accord.
they gathered together as one to fight against Joshua and Israel.
These kings combined their armies to fight as one against Joshua and the Israelites.