Deuteronomy 27:26

27:26 ‘Cursed is the one who refuses to keep the words of this law.’ Then all the people will say, ‘Amen!’

Matthew 5:18-19

5:18 I tell you the truth, until heaven and earth pass away not the smallest letter or stroke of a letter will pass from the law until everything takes place. 5:19 So anyone who breaks one of the least of these commands and teaches others to do so will be called least in the kingdom of heaven, but whoever obeys them and teaches others to do so will be called great in the kingdom of heaven.

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.