That's a bit misleading cause fascism is just inherently bad while communism has had some implementation problems.
In fact, Marx claimed that capitalism in advanced economies has contradictions that would eventually lead to its being overthrown by the workers, but that has never happened. Instead communism has always been installed through violence on the part of a small group or imposed from without, and usually in states that were not economically advanced.
All of those have been Leninism or its descendants, which break strongly from Marxism. Starting with the required starting conditions.
> In fact, Marx claimed that capitalism in advanced economies has contradictions that would eventually lead to its being overthrown by the workers, but that has never happened.
It's happened in basically all of the countries that were capitalist at the time, where capitalism (that is, the 19th century system that Marx was pointing to) has been overthrown (largely, through democratic means) due to opposition from the working class and replaced with the modern mixed economy which retains some of the basic structures of capitalism, but many features of socialism applied to directly to mitigate the effects of capitalism which can critics from the time the system was named have targeted. (Many of those sytems even call themselves socialist, and the rest of them are labelled that way by their capitalist critics.)
(As for the rest: let's hope that the term "modern mixed economy" continues to spread. Calling the postwar Western system "capitalism" has led to a lot of confusion.)
I have read that Social Democracy arose in part from the failure of the working class to revolt and overthrow capitalism. In the communist movement at the end of the 19th century there were two different responses. One, lead by Eduard Bernstein, decided instead to turn to electoral politics and try to move the economy to socialism in gradual steps, and so they joined the other groups that had formed the Socialist Democratic movement.
The other group, lead by Lenin, decided to change the party into an elite group that would lead the working classes to revolution, and this lead to the communism movement as we know it and all the totalitarian states it produced.
All totalitarianism is evil.