Capitalism is a flawed system, especially the crony capitalism/corporatism here in the U.S. However, pure, unbridled capitalism is the best system for resource allocation yet invented do to the profit incentive for workers not only to produce goods, but also to innovate ways to produce more goods, cheaper goods, and goods and services that no one has ever even known they wanted because they can profit for such endeavors. Working hard can be rewarded. Resources are allocated efficiently to those who can afford them, incentivizing increased production by suppliers and increased effort by consumers so they can afford those goods. That's my 2 cents at least.
The problem with capitalism is that it descends into crony capitalism unless you have regulation and laws which capitalists don't' like and capitalism is amoral. At least socialism wants people to have their basic needs met as a tenet of its policy.
Capitalism only looks for more returns on capitalism. It is amoral and flows from place to place in search of greater returns on capitalism.
Capitalism is only an economic system that lacks any concern for society and the less fortunate. That is the major flaw in capitalism and any attempt to address those flaws is anti-capital which is what capitalism don't want.
Capital doesn't care about human needs or wants it only wants return on capital. Capitalists don't get that. They somehow magically believe that capitalism solves all of society problems.