A selection of verses which show that God shows mercy to those who respect him and who are repentant when they fail to obey him.
Many verses show us that one of God's characteristics is mercy:
6 The LORD passed by before him, and proclaimed, “The LORD! The LORD, a merciful and gracious God, slow to anger, and abundant in loving kindness and truth, 7 keeping loving kindness for thousands, forgiving iniquity and disobedience and sin; and who will by no means clear the guilty, visiting the iniquity of the fathers on the children, and on the children’s children, on the third and on the fourth generation.”
10 and showing loving kindness to thousands of those who love me and keep my commandments.
6 LORD, remember your tender mercies and your loving kindness,
for they are from old times.
7 Don’t remember the sins of my youth, nor my transgressions.
Remember me according to your loving kindness,
for your goodness’ sake, LORD.
8 Good and upright is the LORD,
therefore he will instruct sinners in the way.
9 He will guide the humble in justice.
He will teach the humble his way.
10 All the paths of the LORD are loving kindness and truth
to such as keep his covenant and his testimonies.
12 Go, and proclaim these words towards the north, and say, ‘Return, you backsliding Israel,’ says the LORD; ‘I will not look in anger on you; for I am merciful,’ says the LORD. ‘I will not keep anger forever. 13 Only acknowledge your iniquity, that you have transgressed against the LORD your God, and have scattered your ways to the strangers under every green tree, and you have not obeyed my voice,’ says the LORD.”
8 If we say that we have no sin, we deceive ourselves, and the truth is not in us. 9 If we confess our sins, he is faithful and righteous to forgive us the sins, and to cleanse us from all unrighteousness. 10 If we say that we haven’t sinned, we make him a liar, and his word is not in us.