Sin is what you do when your heart is not satisfied with God. No one sins out of duty. We sin because it holds out some promise of happiness. That promise enslaves us until we believe that God is more to be desired than life itself (Psalm 63:3). Which means that the power of sin's promise is broken by the power of God's.
John Piper (2012). “Future Grace, Revised Edition: The Purifying Power of the Promises of God”, p.1, Multnomah