The United Nations wasn't designed to work.
It is the same reason why the League of Nations failed. It is gutless.
Certain countries are granted veto power over the enforcement of international law. Russia, France, the United Kingdom, China and the United States.
It is why the United Nations is worthless. If you are going to try to make international law actually a thing, you need enforcement powers, and you need democracy. That is the only way it would work. It is impossible with three massive and two semi-massive powers holding a monopoly over enforcement.