To be grateful for all of life requires great spiritual mettle and prayer. Scripture shows us countless moments when, out of sorrow, God creates something good, though we can’t see it at first (Is 55:8), we must root our faith in God alone.
http://www.paulstramer.net/2024/11/expressing-gratitude-for-greatest-of.html