It only sounds good on paper
But I’ve had a small garden for years and it’s 100% not worth it due to the small yield and extremely high labor.
And just because you have a small garden does not mean agricultural pests are easily managed… in fact they are still absolutely a massive problem.
Big farms are 100% better suited at growing crops. An hour I spend on my garden is probably only 30 seconds on a large farm if you compare on yield.