That's a false dichotomy. The alternatives includes giving each country an equal standing without a veto, votes proportional to the population, or even fully direct democracy by every person in the world, and a million other alternatives I could think of if given an afternoon.
It's absolutely logically valid to think that international coordination is valuable but that the UN is a poor solution for this, and is blocking off a better solution. Recall also that before the UN we had the League of Nations, which had a similar mission but an even worse implementation, and there's a wide consensus that it's good that it was replaced.