Condemnation does not come from the Lord, and neither does He shame us with our transgressions. Although the Lord does not give us approval for sinful behaviors, He desires for us to confess our wrongdoings to Him. God wants us to have sincere regret about our sins and turn from them and sin no more (John 8:11).
There is therefore now no condemnation for those who are in Christ Jesus.
ROMANS 8:1 (ESV)