to know sth because of sth unpleasant that has happened to you
Oxford100% of films
to know sth because of sth unpleasant that has happened to you
Don't underestimate them, I've learned that to my cost.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition