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. Alternate translation: "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]])