Every cloud has a silver lining.
“Every cloud has a silver lining.”
Even in difficult situations there is usually some hope or positive aspect.
— Traditional United Kingdom Wisdom, United Kingdom
Source: English proverb derived from John Milton's Comus (1634), which coined the phrase 'silver lining'