Scripture teaches us two kinds of confession.
1. Confession to God.
1 John 1:9 - “If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness.”
2. Confession to one another.
James 5:16 - “Confess your sins to each other and pray for each other so that you may be healed.”