Outward rules of behaviour always act as boundary markers, excluding those who don't observe such rules or who have other rules. Jesus, instead, concentrated primarily on inward thoughts and motives - matters of character. For Jesus, it is what goes on inside us that determines the true value of our outward acts. Out of your heart come evil thoughts, vulgar deeds, stealing, murder, unfaithfulness in marriage, greed, meanness, deceit, indecency, envy, insults, pride, and foolishness. You cannot pick figs or grapes from thorn bushes.
Good people do good things because of the good in their hearts.
Bad people do bad things because of the evil in their hearts. Most of us are pretty good at putting on a reasonable show on the outside. It is obvious that if our morality is going to be acceptable to God it must begin on the inside. This means that as I begin to grow in my relationship with God through Bible reading, prayer, learning to trust and obey him, and fellowship with others on the same journey, I will become conscious of changes. New desires will replace old - a new love for God and desire to please him, a new concern for others.