Leviticus 26:40-42

40“But if athey confess their iniquity and the iniquity of their fathers in their treachery that they bcommitted against me, and also in walking contrary to me, 41so that I walked contrary to them and brought them into the land of their enemiesif then their cuncircumcised heart is dhumbled and they make amends for their iniquity, 42then I will eremember my covenant with Jacob, and I will remember my covenant with Isaac and my covenant with Abraham, and I will fremember the land.

Psalms 32:5

5 I gacknowledged my sin to you,
and I did not cover my iniquity;
I said, “I hwill confess my transgressions to the Lord,”
and you forgave the iniquity of my sin.  Selah

Proverbs 28:13

13Whoever iconceals his transgressions will not prosper,
but he who jconfesses and forsakes them will obtain mercy.
Copyright information for ESV