Violence has been used for good ends such as deposing monarchies and ending slavery. Marx argues that capitalists are akin to the new kings. Witnessing billionaires funding the destruction of democracy, I wouldn’t say he’s wrong.
And you refer to Soviet Russia as if that’s supposed to represent socialism and communism. In fact there are many different kinds of socialists and communists, many who support democracy and oppose authoritarian governments. In fact many such people opposed the Bolsheviks and were killed by them. It’s simply not true that being socialist or communist entails supporting totalitarian government.