If you mean USSR and the likes, those guys were claiming to "build" communism, with authoritarian socialism ("dictatorship of the proletariat") as the ostensibly required temporary stage that was supposed to be brief and kept getting indefinitely extended. However, none of them have ever claimed to achieve it.
I mean the USSR was willing to murder people who opposed the idea and it still failed.
And China tried it and abandoned it out of failure true.
Your rationale is the “no true Scotsman” fallacy.
And it was a massive failure.
It's a "no true Scotsman" fallacy because as long as attempts at moving to a communism model fail, supporters will just say "that wasn't true communism" ignoring the fact that if you can't actually create a functioning communist system that's indicative of failure of the model itself.
But here we're talking about communism naturally arising out of technological post-scarcity. What does that have to do with Soviet model of "public" (actually, state) ownership, or killing dissidents, or violently oppressing anyone?
It works today because the owners of capital need workers to make that capital produce something useful, and even with all the economic rent fleeced from them, those workers still retain enough to then buy the products (if not their own, then that produced by somebody else). This enables money to cycle in the economy. But the more things are automated, the more people are unemployed, and - in capitalism - effectively excluded from the productive economy. So it's a question of how many people you can so exclude before the whole thing crumbles down.
Maybe capitalism will be replaced at some point but you and I will be long dead before that ever happens.