This Bible contradiction is from the Skeptic's Annotated Bible.
Those who follow the law are cursed.
Galatians 3:10 View context
For as many as are of the works of the law are under the curse: for it is written, Cursed [is] every one that continueth not in all things which are written in the book of the law to do them.
Those who do not follow the law are cursed.
Deuteronomy 27:26 View context
Cursed [be] he that confirmeth not [all] the words of this law to do them. And all the people shall say, Amen.