Can you expand on that a bit?
> ... to a farmer who refused to give up on a thankless, unrewarding career.
Why? How? What? Because food is relatively cheap? (Because supply is high?)
That said, farming is still a brutal business. For being an industry that determines whether hundreds of millions will live or die, farmers are typically faced with enormous debt burdens, long work days, and second jobs. It's a pretty screwed up situation.
And yes, for some reason society/civilization has a "market based" approach to food security. Why? Because it works better than the planned economy version. Maybe because it forces people to optimize, to make the hard choices of what do you really want, do what you're good at or do what you love.
That said, markets are not in a vacuum, so we can and we ought to help people. Not just farmers. Because every time we try to help them we end up helping "Big Agribusiness". And if some people want to do farming, but it doesn't make them enough, okay, we can think about that, but I don't see what that has to do with food security, which comes from big industrialized farms, environmental protection, land management, food safety regulations, distribution chain tracking and inspections and so on. (To help small farms, you need scale. You need to pack them densely, have them share equipment - usually the combine that used only at harvest is owned by a 3rd party, and so on. They need insurance for climate events like against flood, hailstorm, tornadoes/hurricanes, spring frostbite and so on. So you end up running a farmer-K12.)
One of the reasons America was organized the way it is, as a republic, and not a democracy, was to prevent a tyranny of the majority. And no racial, ideological, or religious minority is as necessary to protect as the minority that feeds all of us.
You're right, farmers can quit any time they like, and many have, and are. It's one of the forces driving the automation of agriculture. But we're not at a point where we can take the farmhand out of the equation safely, so let's give them some incentive to stay. While I agree that planned economies are dumb, because of the simple fact of information density, the government is also a market force, and we need to prevent government from working against the people who feed all of us.