I agree. I think it is also humanity's greed that prevents equality from truly happening. People always want more. More money, assets, houses, shoes, etc. Very few are able to reach contentment. While this hunger for more is good for innovation and improvement, one can't deny how it can be destructive to society.
If contentment/ wellbeing was the profit, perhaps the way we "maximized" would be different also. Money is an abstraction, a proxy, but it meaningless. Shouldn't the outcomes of an economy have meaning?
In an ideal scenario, yes. But unfortunately that isn't the case.