Here "the city" refers to the people in that city. Alternate translation: "everyone who was in the city" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This idiom refers to everything that they found as they went toward the city. Alternate translation: "they came to" (See: [[rc://en/ta/man/translate/figs-idiom]])