Most farmers work a "real" job in addition to the farm work.
Then you also have farm workers, who do not own the farm, and they tend to be poor.
The food that people buy at the grocery store in developed countries is primarily produced a relatively small number of industrialized farming operations which are high dollar businesses.
Like everything else. it’s been capitalized and farms have consolidated over time. There were lots and lots and lots of farm workers. who are pretty poor and now lack the assets that their grandparents had.
Right, we should tell the farmers to "learn to code"?
Too bad you can't ask Claude to grow potatoes. Though it probably uses the same amount of water and fuel to tell you it can't.