This can be stated in active form. Alternate translation: "The city leaders called all the people in the city together" (See: [[rc://en/ta/man/translate/figs-activepassive]])
The writer speaks in a general way about all the people, but "all the people" refers only to those who could fight. Alternate translation: "all the people in the city who could help chase the army of Israel" (See: [[rc://en/ta/man/translate/figs-hyperbole]])