But the new testament tells us we are to keep Gods 10 commandments
I know of NOT ONE human being since Adam to the present who has ever kept even ONE of the commandments and neither does Paul know of even ONE (other than Christ)
"There is NONE that doeth good, no, NOT ONE."
To keep the ten commandments for justification before God you cannot "come short" but must be "perfect" in keeping EVERY POINT of the Law as to come short in one point is to fall under the classification of a "sinner" and under the condemnation and wrath of the Law.
In regard to justification before God or entrance into heaven Jesus says, that unless YOUR RIGHTEOUESNESS "exceed" the righteousness of the scribes and pharisees you will in "NO CASE ENTER THE KINGDOM OF HEAVEN" (Mt. 5:20). Then after giving the proper intrepretation of law keeping (Mt. 5:22-45) he reveals exactly the level of obedience required - "Be ye therefore PERFECT even as your Father in heaven IS PERFECT."
This is God's one and only standard of law keeping that God approves to be justified in his sight and for entrance into heaven.
Now, either you must trust Christ to have FINISHED - FULFILLED - PAID IN FULL and thus "THE END" of the law for righteousness are you are a lost religious person right this moment.
If you have trusted Christ to completely satisifed all the demands of the law for you than to keep the law for justification is to repudiate Christ and His finished work.
Hence, the Christian is not commanded to keep the commandments of God FOR JUSTIFICATION but for some other reason, NOT FOR ENTRANCE INTO HEAVEN but for some other reason, NOT FOR APPROVAL BEFORE GOD but for some other reason!
Do you know that reason????