Being careful is spoken of as if they are to guard themselves. "Be careful that you do not take the things" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Doing something that makes bad things to happen to the city is spoken of as bringing trouble on it. Alternate translation: "you will cause bad things to happen to it" (See: [[rc://en/ta/man/translate/figs-metaphor]])