Yahweh is speaking to the enemies of Babylon. Alternate translation: "You enemies of Babylon arrange yourselves against her" (See: [[rc://en/ta/man/translate/figs-explicit]])
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]])