The modern education system emerged as part of the industrial revolution. It's purpose was not to produce enlightened individuals but to produce productive/obedient laborers. People needed to know how to read/write and do simple calculations. Maybe a bit of math on the side. And there had to be some kind of system to rescue the really smart boys (mostly at the time) from being wasted on blue collar work and get them on some track to higher education. But mostly universities were for the upper class. You were born into that, not cherry picked from the lower classes. Education was about getting lower class kids up-to a lowish standard so they could be productive. And modern education hasn't really improved that much.
We have an opportunity to rethink education. Like many, I had lots of different teachers in high school and in university. Some really amazing, some not that great. Being a high school teacher is a tough job. It's a very rigid program that is sort of standardized for everyone. Mostly there isn't a lot of wiggle room to go beyond that. Lots of kids have trouble dealing with that and they kind of drop out or fail.
The opportunity with AI is that education can be much more personalized now. Anybody can get access to that. For free even. Education no longer has to be a group thing where everybody does the same things, gets the same tests, and then get the OK stamp of approval to be unleashed on an indifferent job market. Lots of people just coast through high school so they can finally start their lives not realizing that they just burned up their most important quarter of it.
I love Neal Stephenson's the The Diamond Age: Or, A Young Lady's Illustrated Primer which is about a poor young orphaned girl getting her hands on an AI powered book that starts teaching her and adapts to her context. That's slowly becoming science fact with modern LLMs.