Yahweh speaks of a person's lifestyle as if it were a path along which the person walks. AT: "If you do not obey me and the law that I have given you" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Yahweh had destroyed a place of worship at Shiloh, and he was threatening to destroy this place of worship. (See: [[rc://en/ta/man/translate/figs-simile]])
What Yahweh would turn the city into is a metonym for what people would use the city for. AT: "I will make this city so that people will ask me to destroy others the way I have destroyed this city" (See: [[rc://en/ta/man/translate/figs-metonymy]])