Capitalism has been touted as superior to the alternatives (Socialism, Communism, etc) b/c it has been claimed to be "self-regulating" and "self-correcting" and "even if we don't understand why, it fixes itself"--basically the only choice among bad ones that, given our collective small brains, has any chance of sustaining itself and society in the absence of an ability of individuals or government to do so intentionally.
What it really is is an opportunity to stay anonymous while gaming the system, all the while convincing everyone else that they too can game the system (thereby being gamed). It is not a net benefit to society when taken to extremes.
Capitalism is great for the consumer in the micro. If there is a coffee shop on your street that sucks, and you start a coffee shop two blocks away to compete with it with your better coffee, you are participating in the version of capitalism that "works as intended."
It doesn't work in the macro. When, instead of continuing to manage your mom & pop business that barely breaks even, you vertically integrate, buy up or otherwise destroy your competition, and then reduce the quality of your product to bare minimums in favor of profits and shareholder value and growth, you take capitalism to an extreme that makes everyone else (the consumers, the workers, the would-be-competitors) have a worse quality of life.
People prefer better quality of life. Capitalism in the modern age is so far in that macro extreme that it no longer makes people's lives better. East Palestine train derailment as an example... why would they prioritize safety over cost cutting? Bam, a town is cancerous. It's not unreasonable for people to point at a corruptible system and blame it for the corruption that exists.
Problem is, people are corruptible, so whatever alternative we think is better, someone will come along and ruin it for personal gain.