God shows mercy to the humble but is against the proud, as shown in the story of the two men praying. As in the parable of the prodigal son, God wants us to come to Him and turn from our sins.
Key points
God is merciful
He waits for us to repent
The younger son repented
God opposes the proud but gives grace to the humble