I don’t think the original structure of the United Nations is fundamentally bad but a lot of bad actors have taken partial control of it. I think you can say the same for any National government. If a Nation decides to exit the UN they certainly can do so. The problem is that in general the people are not sovereign anymore both at the national and higher levels.