We can always find something to be thankful for and there may be reasons why we ought to be thankful for even those dispensations which appear dark and frowning.
Part of the beauty of Judaism and surely this is so for other faiths also is that it gently restores control over time. Three times a day we stop what we are doing and turn to God in prayer. We recover perspective. We inhale a deep breath of eternity.