But from there you will seek the Lord your God, and you will find Him if you search for Him with all your heart and all your soul. When you are in distress and all these things have come upon you, in the latter days you will return to the Lord your God and listen to His voice. For the Lord your God is a compassionate God; He will not fail you nor destroy you nor forget the covenant with your fathers which He swore to them.
Oh that they had such a heart in them, that they would fear Me and keep all My commandments always, that it may be well with them and with their sons forever!
2 Kings 22:19
because your heart was tender and you humbled yourself before the Lord when you heard what I spoke against this place and against its inhabitants that they should become a desolation and a curse, and you have torn your clothes and wept before Me, I truly have heard you,” declares the Lord.
1 Chronicles 28:9
“As for you, my son Solomon, know the God of your father, and serve Him with a whole heart and a willing mind; for the Lord searches all hearts, and understands every intent of the thoughts. If you seek Him, He will let you find Him; but if you forsake Him, He will reject you forever.
“If you return to the Almighty, you will be restored;
If you remove unrighteousness far from your tent,
And place your gold in the dust,
And the gold of Ophir among the stones of the brooks,
Then the Almighty will be your gold
And choice silver to you.
“For then you will delight in the Almighty
And lift up your face to God.
“You will pray to Him, and He will hear you;
And you will pay your vows.
“You will also decree a thing, and it will be established for you;
And light will shine on your ways.
“When you are cast down, you will speak with confidence,
And the humble person He will save.
Then he will pray to God, and He will accept him,
That he may see His face with joy,
And He may restore His righteousness to man.
“He will sing to men and say,
‘I have sinned and perverted what is right,
And it is not proper for me.
‘He has redeemed my soul from going to the pit,
And my life shall see the light.’
Depart from me, all you who do iniquity,
For the Lord has heard the voice of my weeping.
The Lord has heard my supplication,
The Lord receives my prayer.
And those who know Your name will put their trust in You,
For You, O Lord, have not forsaken those who seek You.
The afflicted will eat and be satisfied;
Those who seek Him will praise the Lord.
Let your heart live forever!
The Lord is near to the brokenhearted
And saves those who are crushed in spirit.
The sacrifices of God are a broken spirit;
A broken and a contrite heart, O God, You will not despise.
Let all who seek You rejoice and be glad in You;
And let those who love Your salvation say continually,
“Let God be magnified.”
O satisfy us in the morning with Your lovingkindness,
That we may sing for joy and be glad all our days.
Make us glad according to the days You have afflicted us,
And the years we have seen evil.
The Lord is near to all who call upon Him,
To all who call upon Him in truth.
He will fulfill the desire of those who fear Him;
He will also hear their cry and will save them.
He heals the brokenhearted
And binds up their wounds.
“Blessed are those who mourn, for they shall be comforted.
For if you forgive others for their transgressions, your heavenly Father will also forgive you. But if you do not forgive others, then your Father will not forgive your transgressions.
“Ask, and it will be given to you; seek, and you will find; knock, and it will be opened to you. For everyone who asks receives, and he who seeks finds, and to him who knocks it will be opened. Or what man is there among you who, when his son asks for a loaf, will give him a stone?read more.
Or if he asks for a fish, he will not give him a snake, will he? If you then, being evil, know how to give good gifts to your children, how much more will your Father who is in heaven give what is good to those who ask Him!
“Come to Me, all who are weary and heavy-laden, and I will give you rest. Take My yoke upon you and learn from Me, for I am gentle and humble in heart, and you will find rest for your souls. For My yoke is easy and My burden is light.”
1 John 1:9
If we confess our sins, He is faithful and righteous to forgive us our sins and to cleanse us from all unrighteousness.
Find more scriptures here: https://bible.knowing-jesus.com/topics/Penitent