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.

James 2:10-11

2:10 For the one who obeys the whole law but fails in one point has become guilty of all of it. 2:11 For he who said, “Do not commit adultery,” also said, “Do not murder.” Now if you do not commit adultery but do commit murder, you have become a violator of the law.