Therefore confess your sins to each other and pray for each other that you may be healed. The prayer of a righteous man is powerful and effective. James 5:16
If we confess our sins he is faithful and just and will forgive us our sins and purify us from all unrighteousness. 1 John 1:9