Originally, money is supposed to represent a quantity of work - weighed by the value that is attributed to one's kind of work. I would ask several questions there :
There is always a price to pay for trying to get wealthy - in personal time, in ethics, ... You can get wealthy by achieving a mastery in a area where what you do is very rare, or by developping something that improves human life, but you also can achieve wealth by consciously walking on other people's heads. The ways to get rich are not all morally defendable ...
If money is supposed to measure people's work, is it OK to make money only by buying company actions ? I mean, is it moral that the shareholders of a company get money from other people's work ?
And is it OK that one may be rich by inheriting money from his/her ancestors, not having done any actual work to get it ?
------------------
The world is my oyster !