This is the definition of sin: the misuse of powers given us by God for doing good, a use contrary to God’s commandments. On the other hand, the virtue that God asks of us is the use of the same powers based on good conscience, in accordance with God’s plan.
St Basil the Great