The function of education is to teach one to think intensively and to think critically. Intelligence plus character - that is the goal of true education.
Nothing makes it easier to resist temptation than a proper bringing-up, a sound set of values - and witnesses.

