The function of education should be to enable people to gain employment. Especially in this economy, a job is a key to success for every one. However, school these days produces people who are not ready to take on work right out of high school, so they will fail when they graduate.
There is no reason for someone to obtain an education that they will never use. Let people be free to learn as they please, but for the skills that are necessary to societies function. Thus the function of education should not be to enable people to get jobs, in the sense that one with an education is more desirable than one without it. Education should provide skills necessary for in demand jobs.