Is confession important for forgiveness based on 1 John 1:9?

This is what it says:

"If you confess your sins he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness."

--------1 John 1:9
7 answers 7