Since love and truth are the cornerstones of life and since they are but other names for praise and thanksgiving, it follows that praise and thanksgiving are important components of prayer. This is because prayer in its truest form is an alignment between the spiritual self of each of us with the spiritual Power that defies human understanding.
The gratitude that we encounter helps us believe in the goodness of the world, and strengthens us thereby to do what's good.