You will be saved by the grace of God, not because you try to make things right in your life. He wants you to accept this salvation only because He loves you! It is not something to be earned … it is a free gift.
God demonstrates His own love for us in this: While we were still sinners, Christ died for us.
Romans 5:8