It is true that vanity and greed can lead an individual to work hard and become rich. But there is no reason to believe that these traits are the best motivators of hard work and wealth, or that if most people were motivated thus, society would become wealthy.
Source