There’s some nuance/caveats, but here’s a study showing humans lost height during the switch from hunting/gathering to agriculture:
https://modernfarmer.com/2022/04/farming-made-our-ancestors-...
https://modernfarmer.com/2022/04/farming-made-our-ancestors-...