God must judge sin. But He is still a merciful God and is able to show mercy rather than judgement. In Amos 7: 1-9 Amos asks for God's mercy rather than God's judgement.
God gives us opportunities to flee from sin, but the choice is given to us whether we flee from sin or not.