The problem is that people don’t really understand what the UN is. It’s not a world government. It’s not a defense agency. It’s not the world police. It’s job is to encourage diplomacy between countries, especially in cases where more than one country is involved.
It basically exists to avoid the neverending complaints about scheduling and meeting location.
In terms of real power it has none. Power means being able to enact something that is against someone else’s wishes, and the UN can’t do that. They can write letters and tell countries just how disappointed they are in them, but they can’t take action unless literally every important member agrees, which rarely happens because everybody has a stake in everything.