Capitalism has only done all the good things it's credited with if you ignore the externalities starting to come due in the last decade. There's a cost, and capitalism only works by socializing it. Even the good stuff is built on publicly funded research and projects.
The externalities are definitely an issue, and some will need to be addressed, however I’d argue those would exist regardless of the economic system in place. Humans tend to be a bit rapacious in the context of any economic frameworks.
I am not against forms of socializing aspects of society. Fire service works wonderfully, universities are fantastic, etc.