For a long time, I operated as though gratitude was something I expressed only when things were going well. But