You searched for: “sed fortunam spectat
Misericordia non causam, sed fortunam spectat.
Translation: Compassion takes care of sufferings, it does not ask for their cause.

Motto of German Emperor Rupprecht of Palatinate (1400-1410).