The Bible calls sin lawlessness (1 John 3:4)
An examination of things that are morally good and / or evil must be done with the appropriate response because God commands it – but what is really needed is to know what sin is & what holiness is (which correspond to disobedience & obedience). We must know sin & holiness as they are essentially & unalterably. I can obey because I must – but when I truly grasp what sin is – then I truly will know why I must flee. Study the nature of sin & holiness. The one is natural to us & the other is natural & essential to God.