expression

If it's any consolation.

Theme: compassion Keyword: sorrow

means

Introduces information intended to lessen someone's disappointment or distress.

Example

If it's any consolation, everyone found the exam difficult.