Do you really think this sounds like it's talking about works of the law?
Remember, Paul was the apostle to the gentiles.
2 Timothy 1:9
Who hath saved us, and called us with an holy calling, not according to our works, but according to his own purpose and grace, which was given us in Christ...