There are people in this world who are like the biblical Pharisees. Sometimes they are religious but often they are not. One of the characteristics of a certain type of modem atheist is that he must prove himself to be moral without any religious background, in his eyes, coercing him to be so. So he adopts a strict moral code which he adheres to, as you might say, religiously. This is his version of the Law.
But what is making him do this is, in large measure, pride and the desire to be morally better than the next man, especially the next religious man.
However you will observe that his morality is normally based on thought rather than love or kindness of heart, and you will see this because he will go so far but no further. I mean he will do what is expected morally even if it causes him hardship, indeed he may welcome that as a way of proving his superiority, but he will not do more. He has ticked off the moral box and that is all that is required to satisfy his sense of what is right.
You may know someone like this. You may wonder why such a person always seems to be morally correct but you feel there is something missing. It is because the Pharisee acts from the mind not the heart. In fact, that's what he's doing, acting. He isn't feeling love and behaving spontaneously as a result which is the only true basis for morality. He is simply demonstrating his goodness to himself and to others, and this is a way to tell the truly morally person from the imposter, bearing in mind that most people are a mixture of motivations and there will usually be something of both types in any one individual.
Ask such an individual if he thinks he is a good person. The Pharisee will generally say yes, he is, unless he suspects a trick question. But the person who seeks to do good from love of God will say no because he knows that, of himself, he is not good. He knows that all goodness must ultimately stem from and be rooted in God. He knows that any goodness that comes from himself is liable to be self-conscious and therefore fake. We are only really good when we let God be good through us. Without God morality is little better than utilitarian expediency.