There’re those who think that if their good works outweigh their bad works, God will accept them. That’s not the way God thinks. A little drop of impurity in a large volume of pure water corrupts the whole volume. In the same way, one "little sin" in a man’s life can never be outweighed by many "good works." Your acts of self-righteousness won’t answer for you before God.
Jesus paid the penalty for our sins. Ephesians 2:8-9 says "For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast." When He was crucified, your sins were laid on Him, and as a result, He took your place of punishment, and gave you His righteousness. He wasn’t crucified because He did something wrong, no. He was crucified in our place. 2 Corinthians 5:21 says, "For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him."
This is the message the whole world needs to hear: God so loved the world, He gave His only begotten Son, that whosoever believes in Him should not perish, but have everlasting life (John 3:16).
If you believe that Jesus is the Son of God, and that He died to save your soul, then the salvation He purchased with His blood, belongs to you! No matter how bad, wayward, or evil a man may have been, if he’d confess the Lordship of Jesus Christ, his spirit will be recreated; He’d at once become the righteousness of God in Christ Jesus. Halleluiah!