Read the scriptures very carefuly
Matthew 19
16 Now behold, one came and said to Him, “Good Teacher, what good thing shall I do that I may have eternal life?”
17 So He said to him, “Why do you call Me good?[f] No one is good but One, that is, God. But if you want to enter into life, keep the commandments.”
18 He said to Him, “Which ones?”
Jesus said, “ ‘You shall not murder,’ ‘You shall not commit adultery,’ ‘You shall not steal,’ ‘You shall not bear false witness,’ 19 ‘Honor your father and your mother,’[h] and, ‘You shall love your neighbor as yourself.’”
20 The young man said to Him, “All these things I have kept from my youth. What do I still lack?”
21 Jesus said to him, “If you want to be perfect, go, sell what you have and give to the poor, and you will have treasure in heaven; and come, follow Me.”
22 But when the young man heard that saying, he went away sorrowful, for he had great possessions.
Now Jesus was letting the young man know that He was not perfect and all fall short of the Law. No one can earn eternity by the Law because no one can be perfect.
The only Way to eternity is through forgiveness for falling short of the Law, not in achieving perfection by doing the Law.
So one asks what is the point of the Law.
The Law is a great blessing to those who know it. It is the best guide for life ever given to man. People who do their best to follow this great advice will live a more healthy, Longer and long lasting Life.
The Law also lets us know that we are not perfect. No matter how hard one tries, no one can live their lives without falling short of the Law. Once ones knows that one cannot become perfect then one will seek atonement for this.
This is where Jesus come into the picture. Jesus provides us atonement for falling short of perfection.
So the Law is a blessing in two ways It helps us live better lives and also brings us to seek forgiveness from God because of our lack of ability to do the law perfectly.
All Praise The Ancient Of Days