We were created to praise, to bless, and to give thanks unto God Who has created us and who loves us so much that He died willingly on the Cross for us.
Giving thanks refers to the Eucharist (from the Latin/Greek Eucharista, thanksgiving). And we should be very thankful for such a loving God.
It is impossible to praise, to bless, and to give thanks unto God while committing sɛҳuąƖ sins of any kind.
In addition, if we fail to do good, then we are doing evil. If we fail to struggle against evil temptations, thoughts, words, deeds, then we sin. Even omitting to do good is evil (sin of omission). For example if we are ungrateful and do not thank our parents, they will feel insulted.
Therefore, sins of any kind cause harm and negatively affect the common good.