Compulsory education actually reduced US literacy levels after it was introduced, and it’s also not its original stated goals, nor is today any better at literacy
As a European, I don’t know what a Public school means. But if it refers to the kind of school environment you can find on YouTube by searching for “gen alpha teachers,” then I’m surprised those schools still exist at all.