count your blessings
US /kaʊnt jʊər ˈblɛsɪŋz/
UK /kaʊnt jʊər ˈblɛsɪŋz/

1.
to be grateful for the good things in your life, especially when things are not going well
:
•
Even though you lost your job, you should count your blessings that you have a supportive family.
•
When I feel down, I try to count my blessings and remember all the good things in my life.