In Sapiens, Yuval Noah Hariri argues that foragers need more intelligence than farmers. Foragers need to know much more about their environment, including information about many varieties of plants. Farmers just need to know a routine for raising a staple crop.
One can argue that ordinary workers in the early stages of the industrial revolution did not need to know much, either. More recently, the skill demands of jobs have gone up, so that we may be reverting to forager-level intelligence.