9If we confess our sins, He is faithful and righteous to forgive us our sins and to cleanse us from all unrighteousness. 10If we say that we have not sinned, we make Him a liar and His word is not in us.
1My little children, I am writing these things to you so that you may not sin. And if anyone sins, we have an Advocate with the Father, Jesus Christ the righteous; 2and He Himself is the propitiation for our sins; and not for ours only, but also for those of the whole world. 1 John 1:9-2:2 NASB
In John 20:23, Jesus tells the apostles he is giving them the power to forgive sins.
To say that we never need to confess our sins in order to be forgiven is to contradict Jesus.