I am in total agreement with you.
I attended school in a small town in Minnesota starting in 1952. Was it a good education? It was a mixed bag. Some elementary teachers were probably good; a few, probably less so. Secondary was more of a mixed bag, because in 7th grade, tracking began towards college or a trade. I was considered unpromising so was tracked into the commercial program. Owing to an intervention by several people, I ended up going to college after all.
I was not well prepared for college, and I had no real, well motivated plan. but I managed to do OK and graduated with a BS in English and social science. I figured that I would teach English. I quickly discovered that I was altogether NOT cut out to teach high school students. Instead, I ended up working with adults in a number of different educational contexts. That, and clerical temp work which I hated, whenever I needed quick employment.
Looking back at the intervening decades, I'd say a lot of schools are doing as well as they can under the circumstances (which is, in many cases, not terrible), and so are a lot of students. Any picture of the future is blurry at best. I don't know what the perfect school was, is, could be or should be. At least we need more varied options. Catholic education is good for some; for others, the public school is better. For some, high structure is critical, for others, low structure. And more. All of these things can not exist under one roof.
Besides the school, we know that parents and community make a difference. I don't know what to do about that, either. Small town Minnesota didn't / doesn't share much in common with megacities and/or really world-class slums.
Yes, I wish everyone was interested in maximizing their own and their children's and their community's human potential, but the masses, trying to get by--let alone maximizing their potential--are generally lukewarm on the matter. Not their fault.
My main criticism of my education is that it did not give me a very realistic view of the world, and I wasn't an outstanding student. At 76 I'm still working on "how the world works". It's kind of depressing.