State controlled schooling (including most private schools) is designed to stamp-out critical thinking in the population and instil an instinct for accepting authority along with its edicts.
Far from failing, the schooling system is a runaway success.
Most of the kids who are tarred as 'failures' of this programming are in fact the ones who, knowingly or otherwise, have refused to submit to its indoctrination.
The academic 'successes' of the state controlled school system are the most incapable of breaking free from the paradigm the system creates.
All are successes of the system as intended: the feckless are prevented from achieving their individualistic potential and the apparently brighter student is rendered incapable of free thought.