Every cloud has a silver lining

return pic

You can achieve some benefit from every bad thing that happens to you.

origin pic

John Milton coined the phrase ‘silver lining’ in his poem Comus: A Mask Presented at Ludlow Castle, 1634