For it is by grace that you have been saved, not by works, through faith--and this not from yourselves, it is the gift of God--not by works, so that no one can boast. For we are God's workmanship created in Christ Jesus to do good works, which God prepared in advance for us to do. (Ephesians 2: 8-10)
He saved us, not because of righteous things we had done, but because of His mercy. He saved us through the washing of rebirth and renewal by the Holy Spirit. (Titus 3:5)
However, to the man who does not work but trusts God who justifies the wicked, his faith is credited as righteousness. (Rom. 4:5)