Definition: Every cloud has a silver lining means that you should never feel hopeless because difficult times always lead to better days. Every bad situation has some good aspect to it.
Synonym: be optimistic, cheer up, forget it...
Example: 1 – I lost my job but every cloud has a silver lining and I will find something better.
2 – I have experienced difficult times, however, now I feel good, every cloud has a silver lining.