The claim that it's capitalism that has raised hundreds of millions of people out of poverty is a common one, but it's our technology that's advanced. If we were still living under feudalism and the industrial revolution and the Internet happened, hundreds of millions of lives would still have transformed. Thanks to John Deere and Monsanto and the like, billions of lives have been raised up from subsistence farming to where we are today. There's the argument that we wouldn't have this technology without capitalism, and the length of the Egyptian and Roman empires without the Internet lend credence to this possibility, but it's also impossible to deny that we've never and can't test whether a system other than capitalism wouldn't also lift millions out of poverty, given the same advancements in technology.
It turns out that centralized, long-term planning is necessary for certain advancements. Eisenhower's US highway system, for example. Or the Manhattan project. Yes, the market is great for a large number of things. One of my most favorite is the food bank story, where they created their own internal market, with credits, and used that to more efficiently organize actors and allocate resources *.
I'm also just done pretending that USA's brand of capitalism is perfect, or that we have a free market in the first place in places where we don't (eg pharmaceuticals) but still try to run it in a capitalistic way, and then get surprised when someone like Martin Shkreli plays the game according to the rules, buys a company with a monopoly on a product, and then raises prices when that's just the rules we've set up for ourselves. Yes he went to jail, but that wasn't because he raised prices on Daraprim, but because he was also running a ponzi scheme and the attention made that finally catch up to him.
We're not going to get to a better system by upending what's been working well enough, but with smaller, more specific changes to the existing system to make it work better. Framing any changes to the system as a moral upheaval and equivalent to communism is the problem. We can have a better system. Yes, some of it involves sharing with others and caring for your fellow human. Some of those humans don't look like you and you may not like them. That's okay, you don't have to. There are people I don't like either. But what we have that works for some, also isn't working for others. When baby food is locked up because people are stealing it, if we assume it's mostly not being stolen and used for nefarious purposes, like cutting cocaine; if we assume people are stealing baby formula to feed babies, and that's criminal behavior according to the rules of our society; stepping back and looking at that from first principles, that all the rules of society and capitalism are for the benefit of humanity. If we really stop and think about that, something has gone wrong.
* https://theeconreview.com/2018/02/12/how-food-banks-used-mar....