Famine was first eliminated in 1800 by the US with its free market agriculture. Collective farms have never succeeded in providing sufficient food.
Starving people are not good for the environment. They stop caring about anything but getting food.
Profit-driven farms are why you're able to type into your computer complaints about capitalism, sipping your morning Starbucks, rather than holding a cup on a streetcorner begging for an apple.