This is such an important point and one that pretty much everyone fails to understand.
I am in the process of writing a pretty long, detailed essay on this.
While, yes, institutional problems in public education do exist, so much of the "bad education" discourse is just plain bad parenting.