Gratitude comes from directing attention to what is good, with appreciation for it. There are two components to being grateful. The first is affirming that there are good things in the world, and that you receive gifts and benefits. The second is recognizing that the sources of these good things are outside of you.