From Luther’s Commentary on Galatians

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.
Paul goes on to prove from this quotation out of the Book of Deuteronomy that all men who are under the Law are under the sentence of sin, of the wrath [...]