Psalm 9 is a Psalm of David in which he's thankful because he's in one of those good seasons in life. It begins with these words: “I will give thanks to the LORD with my whole heart; I will tell of all your wonderful deeds. I will be glad and exult in you; I will sing praise to your name, O Most High.”