Nobody said it did, but the other methods fail much harder. A fuckton more people died of starvation under Lenin, Stalin and Mao than will ever die of starvation in even the most right-wing capitalist country, because communist and extreme authoritarian socialist countries have all the same moral failings of their leaders as capitalism has, but also ruins their economies as well.