What was the original purpose of the public school system?

So far as I can tell, it was created as a re-education camp to force the children of self sufficient homesteaders into the factories of urban robber barons and to legally extract resources from their parents for the privilege of training their children to abandon their family's way of life. Yay, government collusion with large businesses!

What was the original purpose of the public school system?
Post Opinion