When the heart is right — God can look over many things that are defective. There may be faults in judgment, and infirmities in practice. There may be many deviations from the best course in the outward things of religion. But if the heart is sound in the main, God is not extreme to mark that which is amiss. He is merciful and gracious, and will pardon much that is imperfect — when He sees a true heart and a single eye.
-J.C. Ryle, Tract: Formal Religion, Complements of: http://jcrylequotes.com/2011/12/16/how-god-views-a-right-heart/