Be grateful for the good things in your life, often to stop yourself from becoming too unhappy about the bad things.
Count your blessings’ is a phrase that has been used in hymns, notably one by Oatman and Excell, 1897: When upon life’s billows you are tempest tossed, When you are discouraged, thinking all is lost, Count your man y blessings one by one, And it will surprise you what the Lord has done