Public education in the USA was inspired by the need to get the children of workers off the streets. It is purely a capitalist venture.