proverb

He gains enough who loses sorrow.

Theme: happiness Keyword: sorrow

means that

relief from suffering is itself a valuable gain.

Example

Although the dispute cost her money, she was grateful that it was finally over.