Plato:

Republic (book 7)

What is the purpose of education?