David did not bring out the people himself; he commanded his soldiers to bring them out. Alternate translation: "David commanded his soldiers to bring out the people" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This refers to the people in the cities. Alternate translation: "all the people of the cites of Ammon" (See: [[rc://en/ta/man/translate/figs-metonymy]])