gathered themselves together, so that they might fight against Joshua and Israel, with one mind and with the same resolve
Other versions
King James Version
That they gathered themselves together, to fight with Joshua and with Israel, with one accord. English Standard Version
they gathered together as one to fight against Joshua and Israel.New International Version
they came together to make war against Joshua and Israel.