"For instance the Scottish miracle, that made Scotland the economic powerhouse of Europe was based on schooling in Parish schools."
Yes but the modern school in the US is the legacy of Dewey, et. al. And they were enamored by the Prussian model, not the Scottish one. The public schools today reflect their intent.
Well, until the 70s the French schools on which the Prussian were based were admirable for the education you got there.
And the Prussian model wasn't so bad either: after all illiteracy rates in France and Germany are below the ones in the United States...
What the problem is everywhere today is that, in a world that has changed, schools haven't changed as much....