Galatians 3:10 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.
You don't keep them all, and it is humanly impossible to continue in all things that are written in the law from birth to death without breaking one of them. Therefore you are cursed. 
That is the teaching of this verse. 
You are cursed under the law.
		
		
	 
In Romans 8 Paul tells us that the lost person cannot keep the Law of God - but the saved person can.
Romans 8
  4 that 
 the righteous requirement of the law might be fulfilled in us who do  not walk according to the flesh but according to the Spirit.  5 For those who live according to the flesh set their minds on the things of the flesh, but those 
who live according to the Spirit, the things of the Spirit.  6 For to be carnally minded 
is death, but to be spiritually minded 
is life and peace.  7 Because 
the carnal mind is enmity against God; for it is not subject to the law of God, nor indeed can be.  8 So then, those who are 
in the flesh cannot please God. 9 But  
you are not in the flesh but in the Spirit, if indeed the Spirit of God  dwells in you. Now if anyone does not have the Spirit of Christ, he is  not His. ...
 
Sonship Through the Spirit
12 Therefore, brethren, we are
 debtors—not to the flesh, to live according to the flesh.  13 For  if you 
live according to the flesh you will die; but if
 by the Spirit  you put to death the deeds of the body, you will live.  14 For as many as are 
led by the Spirit of God, these are sons of God.
Romans 6
 Dead to Sin, Alive to God
1What shall we say then?
 Shall we continue in sin that grace may abound? 2 Certainly not! How shall we who 
died to sin live any longer in it?  3 Or do you not know that as many of us as were baptized into Christ Jesus were baptized into His death?  4 Therefore  we were buried with Him through baptism into death, that just as Christ  was raised from the dead by the glory of the Father, even so we also  should 
walk in newness of life.
 5 For if we have been united together in the likeness of His death, certainly we also shall be 
in the likeness of 
His resurrection,  6 knowing this, that 
our old man was crucified with Him, that the body of sin might be done away with, that we should 
no longer be slaves of sin.  7 For he who has died has been 
freed from sin.  8 Now if we died with Christ, we believe that we shall also live with Him,  9 knowing that Christ, having been raised from the dead, dies no more. Death no longer has dominion over Him.  10 For 
the death that He died, He died to sin once for all; but 
the life that He lives, He lives to God.  11 Likewise you also,
 reckon yourselves to be dead indeed to sin, but alive to God in Christ Jesus our Lord.
 12 Therefore 
do not let sin reign in your mortal body, that you should obey it in its lusts.  13 And 
do not present your members as instruments of unrighteousness to sin, but present yourselves to God as being alive from the dead, and your members 
as instruments of righteousness to God.  14 For 
sin shall not have dominion over you, for you are not under law but under grace.
 From Slaves of Sin to Slaves of God
15 What then?
 Shall we sin because we are not under law but under grace? Certainly not! 
16 Do you not know that to w
hom you present yourselves slaves to obey, you are that one’s slaves whom you obey, whether of sin leading to death, or of obedience 
leading to righteousness?  17 But God be thanked that 
though you were slaves of sin, yet you obeyed from the heart that form of doctrine to which you were delivered.  18 And having been set 
free from sin, you became slaves of righteousness.