All but one religion of the world tells us that if we are good enough, God will accept us.
The Gospel (good news) of Jesus points out that because God accepts us, we want to do good.
The same is true for repentance:
Anyone who has genuinely repented before God of h/her sins has been forgiven.
Anyone who has been forgiven has genuinely repented or h/her sins.