The long term trend seems to be lower skilled workers made obsolete, with automation. Jobs in automation require higher skills.
Wash repeat for many years, and a society winds up with a surplus of unemployable low/no skill workers.
And often a shortage of high skill workers. Pretty well describes America, today according to some accounts.
Skill do correlate with Intelligence. That is one reason foreigners fill high skill jobs. Ether by immigration, or remote contract status.
And still the no/low skilled ones bunch up in cities. And the answer seems to be giving them housing, food, drugs and telling them to go to college, for which they are not prepared, or capable.