Nothing impure will ever enter it, nor will anyone who does what is shameful or deceitful, but only those whose names are written in the Lamb's book of life. The throne of God and of the Lamb will be in the city, and his servants will serve him. They will not need the light of a lamp or the light of the sun, for the Lord God will give them light. And they will reign for ever and ever. If you or I could do one thing, or perform one act, no matter how large or small, that could be a part of our salvation, then Christ's death on the cross was useless.
Salvation is by faith alone.
God saved you by His special favor when you believed. Salvation is not a reward for the good things we've done, so none of us can boast about it. For it is with your heart that you believe and are justified, and it is with your mouth that you confess and are saved. God wants us to own up to the fact that we are sinners without a thing to offer Him that can make us right in His eyes. Being a good person is a wonderful attribute, but it absolutely won't get you to heaven.