The Lord looks to them...they receive forgiveness and and are promised comfort and cleansing through the indwelling of The Holy Spirit.
They know Jesus Christ as The Savior for their sin and confidently approach The Throne of Grace without shame, fear or regret. They are reconciled unto God The Father, and their heart is filled with joy and peace; they receive rest and have a personal relationship with Jesus.
Blessed are those indeed who mourn and have repented...they are forgiven and hidden in Christ...for them there is no condemnation and they will dwell in The House of The Lord forever.
2 Corinthians 7:10
For godly sorrow worketh repentance to salvation not to be repented of: but the sorrow of the world worketh death.
For all those things hath mine hand made, and all those things have been, saith the Lord: but to this man will I look, even to him that is poor and of a contrite spirit, and trembleth at my word.
There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit.
2 Corinthians 5:21
For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.