If we see a person with an attitude of gratitude, their basic approach to life would be thankful. The book of Psalms show us that David had attitude of gratitude, especially towards God. David authored at least 74 of the 150 psalms. 12 of those 74 psalms are identified as songs of praise or thanksgiving. David understood that everything good he had, God had given him.