the school of hard knocks

The school of hard knocks is an idiom which means the education a person gets from lifes negative experiences, even when painful, is often contrasted with formal education. What the phrase basically is referring to is the difference between education learned in formal education at school or education learned on the street as in stuff people learn through life experiences.