Discriminating against an individual based on their race is a moral wrong, unlike applying pressure to a pendulum. So your example doesn’t work because it doesn’t raise the disputed moral question.
Our system of morality and justice operates on individuals, not groups. It’s fundamentally mistaken to view the issue in terms of a pendulum that represents group outcomes.
> Discriminating against an individual based on their race is a moral wrong
People pick partners based on race. Is that morally wrong?
> Our system of morality and justice operates on individuals, not groups.
What do you mean? Class actions don’t exist? Did I imagine the 19th amendment?