By striving to prove how much they deserve God's love, legalists miss the whole point of the gospel, that it is a gift from God to people who don't deserve it. The solution to sin is not to impose an ever-stricter code of behavior. It is to know God.
Philip Yancey (1997). “What's So Amazing about Grace?”, p.210, Harper Collins