It is important to realize we can be thankful in all things, even if it would not make sense to try to be thankful for all things.
Meister Eckhart said it this way, “If the only prayer you ever say in your entire life is thank you, it will be enough.”