These instances of "she" are addressed to the city of Babylon, but refer to the people who live in the city. Alternate translation: "her people have sinned ... Her people have surrendered ... her people have done" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This can be stated in active form. Alternate translation: "the nations have torn down her walls" (See: [[rc://en/ta/man/translate/figs-activepassive]])