The UN's main benefit is that it gets a bunch of nations around a table to discuss various issues. This is something that should not be underestimated.
Unfortunately if the UN could directly exercise authority over nations, many nations would simply just leave.