If we confess our sins, he is faithful and righteous to forgive us the sins, and to cleanse us from all unrighteousness.
And to cleanse us from all unrighteousness - By forgiving all that is past, treating us as if we were righteous, and ultimately by removing all the stains of guilt from the soul.