I thought of a different and more recent parallel - the move from hunting-gathering to farming, on the order of ten thousand years ago. I don't know if it is a hundred percent authenticated, but it seems to be often said that nutrition quality and health took a step down, in the interest of larger populations and civilisational development.
Nutrition actually likely improved, but
infectious disease became a major problem. One thing to remember when comparing early civilizations to contemporary hunter-gatherers is
survivorship bias. Cities could afford to keep marginally-productive individuals alive in ways that nomadic hunter-gatherers or even sedentary subsistence farmers simply cannot, regardless of morality, even as those same cities bred deadly diseases.
But yes, civilization brought with it specialization of tasks and societal strata and a number of social roles that converge on eusocial animals. This came about from the abundance of resources allowing individuals to focus on more than their own immediate survival.
If early cities began already possessing antibiotics, vaccines, clean drinking water, and contraception immediately, leading to a surplus population and the ability to control it from the get-go, perhaps we could have gone in that direct...oh wait, never mind, China tried that with One Child. As usual, that country is an invaluable source of "don't be That Guy" throughout history. Yeah, even if given the tools, humans would mismanage the transition, fail, and "natural" humans would continue to flourish.