The people are referred to by their city. Alternate translation: "David required the people of all the Ammonite cities" (See: [[rc://en/ta/man/translate/figs-metonymy]])
# David and all the people returned to Jerusalem
The phhrase "all the people" refers to David's army. Alternate translation: "David and his army returned to Jerusalem"