silver lining

noun
University
1

A favorable aspect or prospect of a mostly unfavorable event or situation.