It's tricky because if you don't know how to read by a certain age, it will make it far more difficult to learn all the things that require reading to learn. So I think certain fundamental skills (reading, writing, logical thinking, ability to think critically and reason out an idea and defend it) should be taught to everyone, but once you have those fundamental skills kids should be allowed to follow the areas of interest that they want and do self directed learning. My parents home schooled me in primary school, and I learned to read at a young age, and then I was basically allowed to read whatever I wanted, as much as I wanted.
It's a difficult balance to strike, one that I don't think standardised education has figured out. Because on the one hand, if you don't mandate certain standards of education by certain ages (learning to read for example) then kids can be abused by their parents by not being allowed to learn fundamental skills that then will make their adult lives far more difficult and prevent them choosing what they want to learn in the future. That's why there are homeschooling standards in my country.
On the other hand, if you force everyone to conform to a limited standard of what educational achievement looks like, you punish those who aren't suited to academia.