Rom 1:18-21 teaches that pride and arrogance is our fundamental sin.  Thankfulness in prayer is a posture that recognizes our vertical reconciliation with God and that He is to be thanked in all circumstances.