Truth must find an echo in the one who hears it to be recognized. Put it another way, a heart must really be listening, really wanting the truth, really wanting God.
The gratitude that we encounter helps us believe in the goodness of the world, and strengthens us thereby to do what's good.