8 For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: 9 Not of works, lest any man should boast. 10 For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.
Salvation is God’s gift, not human boasting, and it recreates believers for good works.
5 Not by works of righteousness which we have done, but according to his mercy he saved us, by the washing of regeneration, and renewing of the Holy Ghost; 6 Which he shed on us abundantly through Jesus Christ our Saviour;
Paul denies self-righteous works while affirming God’s saving washing and renewal by the Holy Ghost.
11 For the grace of God that bringeth salvation hath appeared to all men, 12 Teaching us that, denying ungodliness and worldly lusts, we should live soberly, righteously, and godly, in this present world;
The grace that saves also teaches believers to reject ungodliness and live holy lives.