What was hard to bear is sweet to remember.
~ Portuguese Proverb [19240]

Alternate version:


What was hard to endure is sweet to recall.
~ French Proverb [19256]