If we confess our sins, he is faithful and righteous to forgive us the sins, and to cleanse us from all unrighteousness.
In the scriptures, God reveals sin for what it is. When we commit those sins that the Bible condemns, we should own up to them, admit them, and confess them freely before God. John says, "Do not deny your sin; confess it." If we do, God makes a promise based own His faithfulness.