Our nondiscrimination laws, as all our laws and rights, apply to citizens, not to the whole world.
That's not what the UN says.