There has been a slow accumulation of evidence over the past 3 or 4 decades that the drive wheels of the agricultural revolution in the neolithic was spurred, not by the effort to build a food surplus but instead to control beer production required for rituals, probably funereal rituals, and a transition from ancestor worship to diety worship requiring larger community "potlach" type feasting. Large Settlement sites of the neolithic in both hemispheres predate farming, relying on abundances of natural harvestable resources like fish runs, and ample huntable animals, settled hunter gathers.
one line of evidence is the ubiquity of a practise across late hunter gatherer societies the world over, to create ritual centres requiring great concentrations of labor to build, (think Cahokia, Gobleki Tepi, Stonehenge etc.) but seem to be occupied only periodically with evidence of occasional mass feasting. Suggesting huge numbers of people gather at certain times of the year for some kind of festival feast event.
https://www.sciencedaily.com/releases/2021/09/210902125046.htm
As These bigger communities hosted bigger community ritual feasts cum sacrifices, the need for beers or other mind altering substances, and a steady supply of goats and other sacrifice animals drive people to begin corralling and early steps toward domestication, and creating plots or medows to encorage grain ancestors to grow. Bread becomes a nice byproduct, and was probably a status food or ritual food...an idea that is echoed in temple practise in cities like Ur, where the God totems were "fed" daily with beer and bread.
https://www.sciencedaily.com/releases/2021/08/210831095623.htm