If you agree that God's law was given to reveal what sin is and that we should refrain from doing what God has revealed to be sin, then you should agree that we should obey it. God's law not just given to reveal our sin, but was also given to teach us how to do what is holy, righteous, and good...