Every cloud has a silver lining. meaning

HOME PROVERBS

difficulty

Every cloud has a silver lining.

suggests that:
Every difficult or unpleasant situation has some advantage, it can result in some benefit to you.
also
Every dark cloud has a silver lining.