Like I said, it's a head scratcher, but 8 billion people can't all survive on backyard gardens. And people gardening in their backyard tend to use space inefficiently, and per item grown, use significantly more water and fertilizer than an industrial operation growing the same things.
The tricky bit is the self control. If you're growing all of your own food, you tend to eat seasonal items, and most people can't stand up a slaughtererhouse in their backyard, so diets would be mostly vegetarian/vegan.
Factory farming enables access to unsustainable foods and is often carried out in an unsustainable way because they have no responsibility for dealing with the negative externalities of those decisions.
But to deliver a sustainable diet to all 8 billion people on this planet, and not just those fortunate enough to own land, regenerative farms at scale are going to beat out home gardens every time. The trick is educating people and collectively agreeing to stop eating meat and start paying for managing those negative externalities.