His love endures forever. -Psalm 136:1
It's easy of course to thank God when things are going well. But what happens when things aren't going well, do we still thank God? I'm not saying we should thank God when are car breaks down or for letting us stub our toe. What i am saying is that even when bad things happen we need to thank God for the blessings He has already given us. We need to thank him even more so during those times.
I can tell you from personal experience that this does not come naturally. The first Thanksgiving after my Dad passed away, it had only been a few months, it was extremely difficult to be truly thankful, but God reminded me over and over again about all the blessing I still had in my life. Remember it is in our weakness, sometimes being mentally too weak to think straight, that God is strong.
I want to encourage you to thank God at ALL times, especially when you feel that you have nothing to be thankful for. In reality we have so much to thank God for, not the least of which is the gift of salvation through His Son. That alone should be enough for us to be thankful, but God didn't stop there and neither should we with our thanksgiving.