The mess of traditional farming - with its scattered plots, mixed crops, and local varieties adapted to every microclimate - was too complicated to tax and control, so they (that Xe talks about, *they*, the ones who stand to profit) bulldozed millennia of accumulated agricultural wisdom and replaced it with neat geometric fields of single crops that any bureaucrat could count from his desk. This wasn't just an ecological disaster waiting to happen (and it did happen - you not knowing about it doesn't mean that it didn't; maybe in the end you'll notice when our last species of corn dies out), it was also an epistemic catastrophe, a murder of local knowledge that understood why you plant these three things together here but those two things there, replacing it with the kind of simplified, one-size-fits-all stupidity that makes perfect sense in a government report and absolutely none in actual soil where actual plants have to actually grow.
Anyway, I recommend Seeing Like a State by James C. Scott.
Food security requires food production at levels which demand industrialized agriculture, for better or worse.
That being said, if you're going to get on your data soapbox and try to tear down an argument I didn't make in the first place, then I will challenge you to "square the circle" between OPs argument that food production is not profitable; the fact 200 million children (and half a billion people globally) are malnourished; and that these stats are somehow acceptable in a world that collectively throws out a billion meals per day.
Cultivating food the 'old fashioned way' is incredibly labor intensive. We now have machines that allow us to cultivate far more food with far less labor.
For example, in 1900 corn took 38 hours/acre to plant/cultivate/harvest. In 2000 it took about an hour. The yeild per acre has also improved 3x-5x in that span, so the time per bushel has decreased to less than 1% of what it once was.
Of course the person spending 100+x the effort to grow corn will not be economically competitive - why would we want anything different?
https://www.lhf.org/learning-fields/crops/corn/