The purpose is to create citizens

From Opiniowiki

The primary purpose of public education is to create informed, engaged citizens capable of participating in a democracy. It's a public good, not just a private benefit for getting a job.