Most people see morality the wrong way, for the wrong reasons. They think if they stop drugging, drinking, or cheating on their spouse that will make them moral.
But that is missing the point…
The real path is the one where you no longer desire drugs, drink, or cheating. You become the person for whom these things hold no allure.
Your morality comes not from obeying rules or laws, but from living in accord with the values you believe in, and the principles you hold.