Regardless of whether the economy is zero sum or not, it is trivial to see that not everybody can be rich. So even if everybody did the "right" thing, not everybody would be rich, or even wealthy.
See: the world GDP divided by world population.
See: the world GDP divided by world population.
The world GDP divided by world population is a snapshot of the current state of the world today. It's not a snapshot of everybody doing the "right" thing. It's also not a snapshot of everybody doing the "right" thing in 1000 years from now. You are excluding possibilities.