My first reaction is that it depends on who you read.

The linked article talks about Wilhelm von Humboldt's philosophy of education. While I haven't read much into 19th-century German literature, the article seems to suggest that a national education system is foundational in nation building and, possibly on-brand romanticism, that the final goal of education is to produce "independent, critical thinkers".

The same ideals have driven the initial push for public schooling in the United States (which happened at the same time at least in the big East Coast cities). However, with the expansion west, schooling became more of an assimilation instrument, where the preparation of "informed citizens" became more of the goal. This led to public school clashes with established religious schools (mostly Catholic in Chicago and in California), which then resulted in a full separation between public and religious school funding.

The goal of education seemed to have changed with the beginning of the 20th century and the push for universal high school. Powell, Farrar, & Cohen argue in "Shopping Mall High School"[^1] that universal secondary education forced schools to become more “consumer-oriented" by offering classes and activities (i.e., sports) that would keep students in school until 18, while compromising with their original ideals to prepare citizens or critical thinkers.

[^1]: https://en.wikipedia.org/wiki/Shopping_mall_high_school

That may be why the rhetoric of education stays lofty while the day-to-day machinery often feels much more pragmatic