you're right that they will do it under any system of class society, with a minority expropriating class and a majority producing class, such as have existed since the invention of written history. that's why marx called for abolishing classes, absorbing everyone into the working class, replacing the structure with an egalitarian, democratic structure to decide how to invest all resources, as the only way out.
russia didn't have the economic basis to get rid of basic material scarcity in 1917, and also was constantly under attack by capitalism, and so it devolved into an undemocratic mess until it reverted (now everything is even worse there).