During the industrial revolution, the purpose wasn't to enlighten the masses but to make sure they could work in factories and work with complex machinery. So that meant being able to read/write, work with numbers, etc. And there as a need for engineers, mechanics, etc. that could make all this machinery work, that could work in systematic ways, etc.
For the last century, a lot of jobs have shifted from making stuff (food, goods, etc.) to providing services. So education has shifted to that and soft skills are now important. You can use a calculator if you need some numbers. It's fine if you don't do that in your head. You study something comparatively niche and useless and then you become a manager, consultant, marketing expert, or whatever that has very little connection to what you studied (history, antropology, whatever). The important skills that were taught are critical thinking, communicating, etc. Ironically, a lot of people with backgrounds like that are reverting to doing things with their hands in the end. Our cities are full of coffee shops, bakeries, jewellery makers, restaurants, etc. run by people with college degrees.
Modern AI driven technology is undoing the industrial revolution and creating a new one. The industrial revolution was all about uniformity and centralization to drive economies of scale. That meant people had to have the same baseline of skills so they could do the simple jobs that they were assigned to do. The smarter ones got promoted up. And you could build a lot with many people doing simple things like that. The bigger the company, the more money it made.
With modern technology, you can 3D print whatever you need, generate software, and run advanced manufacturing all in a small workshop just by yourself. You don't need a big company around you. That actually slows you down. The old services industry ran on soft skills. This new way of manufacturing runs on hard skills. And because its AI assisted you can do more at a small scale. Provided you understand what needs doing. Companies can be small, hyper specialized, and derive value from that. Their customers are other companies. Together they resemble what a pre-industrial revolution town would look like. Lots of specialists trades and shops all working together to produce wealth for the town. Instead of doing everything inside one big company, you now have complex clusters of companies, individuals, contractors, etc. working together.
Education has to focus on teaching people how to function in a world like that. It has to teach them not just one skill or trade but how to be able to adapt and combine different skills.