If so, please show scripture. Thanks
No, we don't have to keep the commandments in order to go to heaven. Nobody is able to keep all the commandments perfectly. That is why Christ came and died on the cross...to redeem us from the curse of the law
(Galatians 3:10-13)
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.
Galatians 3:11 But that no man is justified by the law in the sight of God, it is evident: for, The just shall live by faith.
Galatians 3:12 And the law is not of faith: but, The man that doeth them shall live in them.
Galatians 3:13 Christ hath redeemed us from the curse of the law, being made a curse for us: for it is written, Cursed is every one that hangeth on a tree:
The O.T. Law Was a Temporary Covenant:
(1) It was given to prepare Israel for the coming of Christ:
Galatians 3:19 Wherefore then serveth the law? It was added because of transgressions, till the seed should come to whom the promise was made; and it was ordained by angels in the hand of a mediator.
Galatians 3:20 Now a mediator is not a mediator of one, but God is one.
Galatians 3:21 Is the law then against the promises of God? God forbid: for if there had been a law given which could have given life, verily righteousness should have been by the law.
Galatians 3:22 But the scripture hath concluded all under sin, that the promise by faith of Jesus Christ might be given to them that believe.
Galatians 3:23 But before faith came, we were kept under the law, shut up unto the faith which should afterwards be revealed.
Galatians 3:24 Wherefore
the law was our schoolmaster to bring us unto Christ, that we might be justified by faith.
Galatians 3:25 But after that faith is come, we are no longer under a schoolmaster.
(2) It was taken away when Christ died.
Colossians 2:14 Blotting out the handwriting of ordinances that was against us, which was contrary to us, and took it out of the way, nailing it to his cross;
Colossians 2:15 And having spoiled principalities and powers, he made a shew of them openly, triumphing over them in it.
Colossians 2:16 Let no man therefore judge you in meat, or in drink, or in respect of an holyday, or of the new moon, or of the sabbath days:
Colossians 2:17 Which are a shadow of things to come; but the body is of Christ.
What Was the Law's Purpose?
(1) It was given to reveal sin and to show man that he is a guilty sinner before God:
Romans 3:19 Now we know that what things soever the law saith, it saith to them who are under the law: that every mouth may be stopped, and all the world may become guilty before God.
Romans 3:20 Therefore
by the deeds of the law there shall no flesh be justified in his sight: for by the law is the knowledge of sin.
Romans 7:12 Wherefore the law is holy, and the commandment holy, and just, and good.
Romans 7:13 Was then that which is good made death unto me? God forbid. But sin, that it might appear sin, working death in me by that which is good; that sin by the commandment might become exceeding sinful.
1 Timothy 1:9 Knowing this, that the law is not made for a righteous man, but for the lawless and disobedient, for the ungodly and for sinners, for unholy and profane, for murderers of fathers and murderers of mothers, for manslayers,
1 Timothy 1:10 For whoremongers, for them that defile themselves with mankind, for menstealers, for liars, for perjured persons, and if there be any other thing that is contrary to sound doctrine;
(2) It was given to bring men to Jesus Christ:
Galatians 3:24 Wherefore
the law was our schoolmaster to bring us unto Christ, that we might be justified by faith.
Galatians 3:25 But after that faith is come,
we are no longer under a schoolmaster.