In order to create a Socialist society, there has to be chaos first. The best way to create chaos is to remove morality.
Once morality is lost, families and society as a whole fall into dissarray. That's when the Socialists, those who created the chaos in the first place (manufactured crises), come in as the 'saviors' and promise to 'fix' it with massive social programs. People are so desperate for order by then, they'll accept any leader - be he God or the devil - they will accept him.