3 This it is then that he enforces here. “In this we know that we are of the truth, when in deed and in truth” we love, “not only in words and in tongue: and assure our heart before Him.” What means, “before Him?” Where He sees. Whence the Lord Himself in the Gospel says: “Take heed that you do not your righteousness before men, to be seen of them: otherwise you have no reward with your Father which is in heaven.” And what means, “Let not your left hand know what your right hand does:” except that the right hand means a pure conscience, the left hand the lust of the world? Many through lust of the world do many wonderful things: the left hand works, not the right.
The right hand ought to work, and without knowledge of the left hand, so that lust of the world may not even mix itself therewith when by love we work anything that is good. And where do we get to know this? You are before God: question your heart, see what you have done, and what therein was your aim; your salvation, or the windy praise of men. Look within, for man cannot judge whom he cannot see. If “we assure our heart,” let it be “before Him.” Because “if our heart think ill of us,” i.e. accuse us within, that we do not the thing with that mind it ought to be done withal, “greater is God than our heart, and knows all things.”
Thou hidest your heart from man: hide it from God if you can. How shall you hide it from Him, to whom it is said by a sinner, fearing and confessing, “Whither shall I go from Your Spirit? And from Your face whither shall I flee?” He sought a way to flee, to escape the judgment of God, and found none. For where is God not? “If I shall ascend,” says he, “into heaven, You are there: if I shall descend into hell, You are there.” Whither will you go? Whither will you flee? Will you hear counsel?
If you would flee from Him, flee to Him. Flee to Him by confessing, not from Him by hiding: hide you can not, but confess you can. Say unto Him, “You are my place to flee unto;” and let love be nourished in you, which alone leads unto life. Let your conscience bear you witness that your love is of God. If it be of God, do not wish to display it before men; because neither men's praises lift you unto heaven, nor their censures put you down from thence. Let Him see, who crowns you: be He your witness, by whom as judge you are crowned. “Greater is God than our heart, and knows all things.”
Source: Homilies on the First Epistle of John (New Advent)