"Give thanks unto the LORD, call upon his name, make known his deeds among the people"
1 Chronicles 16:8. David certainly knew the meaning of thanksgiving as evidenced in the above quote as well as in so many of his Psalms. The following is one example. "Make a joyful noise unto the LORD, all ye lands.