
Know/learn/find something to your cost
Negative Outcome
The phrase implies you'll discover a truth through a bad experience. 
Personal Experience
It must be something personally experienced, not witnessed or heard. 
Emotional Weight
The phrase often carries emotional weight, hinting at regret or a tough lesson. 