Marx believed that what capitalism would be its own destruction and at that point communism would be born, where there would be no private ownership of the means of production and that would bring an end to wars, envy, exploitation and differences between men.
He never wanted the creation of totalitarian regimes, like the Soviet Union, on the contrary; Marx believed that communism would generate happy people with their needs met and not treated as an object, as businesses dealt with capitalism at that time.
He believed that this economic system would minimize social problems and generate collective well-being .