The origin point of thanksgiving is recognizing everything you have is a gift form God. Thankfulness is the attitude required, it is the prerequisite, in order to praise to worship and to glorify God. You cannot praise God, you cannot worship God, and you cannot glorify God if you have not contemplated how thankful you are for what God has already done for you.