非要刻骨才会铭心
[fēi yào kè gú cái huì míng xīn]
Literal translation: 'Only if it’s carved into bones does it engrave the heart'. Implies only deeply significant experiences or those involving much pain truly leave a lasting impression on one’s memory or feelings.