Its greatest value is as an anti-thesis to communism on moral principle, showing how capitalism actively encourages good even in people who have only selfish motivations. It is not a good way to organize your life, but it is a great way to organize a society to deal with the problem of evil.