Capitalism is not the only mode of production in existence. We can collectivize production and run it in a planned manner. We can't do that all at once, but in socialism we can gradually wrest capital from the capitalists and collectively run and plan the economy.
Edit: responding to your edit, socialism is not "welfare in capitalist systems." Your comment didn't go over anyone's heads, you just don't know what socialism and capitalism are.