Sometimes Christians have their own kind of plausible deniability. We claim ignorance of our wrong behavior, rationalize, or blame others—but God knows the truth. The Bible tells us: “Man looks at the outward appearance, but the Lord looks at the heart” (1 Sam. 16:7). This is true whether the heart is pure or if it’s a corrupt heart robed in false claims of innocence. We may fool others who see us only on the outside, but God sees the reality of our hearts—whether good or bad.
It is wise, therefore, to humbly confess our faults to the Lord. He desires that we admit the truth (Ps. 51:6). The only way to escape the sin and restore our fellowship with God is to acknowledge and confess it to Him (vv.3-4).

We may successfully fool others, but God knows our hearts.(RBC)