If we confess our sins, He is faithful and just to forgive us our sins and to cleanse us from all unrighteousness.
A major theme of the Bible is repentance. Breaking God’s laws produces evil, suffering and death. But our loving and faithful God has provided a way to remove that automatic penalty of sin. Jesus Christ died to pay the penalty of sin so that He can offer us forgiveness when we repent and turn from our sinful ways.
If we confess our sins—realizing how evil and damaging they are, and that they are responsible for the death of Jesus Christ—He promises to cleanse our past sins. He also provides us help to commit to turning from sin and instead obeying His good and beneficial laws.