Many thousands of years before a poor young lady was pregnant with Jesus Christ, the adopted grandson of an Egyptian Pharaoh ran away from home. As a young man he wandered to the land of Midian and became a humble shepherd. And then God met with him. And God gave him a job - a ministry - of death. It would both enslave a nation to an unsatisfiable master and point to the coming Messiah. This Messiah would free the people by obeying this unsatisfiable master, and then suffer every punishment due to the slaves.
The unsatisfiable master is the Law in all its glory of 613 commandments. And if you break even one of those commandments, there remains nothing for you but the consuming flames of Hell (Ja 2:10)
"All who rely on observing the law are under a curse, for it is written: "Cursed is everyone who does not continue to do everything written in the Book of the Law."" (Gal 3:10)
So what is included in this curse?
See Deuteronomy 28.