Aristotle said this quote

The roots of education are bitter, but the fruit is sweet.