Galatians 3:2

3:2 The only thing I want to learn from you is this: Did you receive the Spirit by doing the works of the law or by believing what you heard?

Galatians 3:10

3:10 For all who rely on doing the works of the law are under a curse, because it is written, “Cursed is everyone who does not keep on doing everything written in the book of the law.