Yes, the law was given to point out sin...What wrong with my statement about the law? Did you read the verse and context? Why did Moses teach that it would be righteousness if they kept all the commandments?
Deu 6:25 And it shall be our righteousness, if we observe to do all these commandments before the LORD our God, as he hath commanded us.
That truth is also clear in the NT. (see ref text Rom10:5)
Rom 10:5 For Moses describeth the righteousness which is of the law, That the man which doeth those things shall live by them.
Here's where God had established righteousness by the law in the OT
Lev 18:5 Ye shall therefore keep my statutes, and my judgments: which if a man do, he shall live in them: I am the LORD.
..................................
On your second argument.
I would say 'Amen', if you're saying that Jesus came to save mankind from the power of sin. (not the power of the law)
There are actions that produce a false righteousness that is like filthy rags (Isaiah 64:6) and actions that produce a true righteousness that is like fine white linen (Revelation 19:8) and the difference has never been in the type of actions, but always in the location of our heart, otherwise God would not have always disdained it when His people outwardly obeyed His commands while their hearts were far from Him (Isaiah 29:13, Mark 7:6-13). God's law has always been about building a relationship between Him and His people by faith, but people can get drawn into legalism where they focus on follow those instructions rather than on drawing close to God through doing those actions by faith. The problem with Israel was that they pursued the law as if righteousness were by works rather than by faith (Romans 9:30-32). The context of the verses surrounding Deuteronomy 6:25 and Romans 10:5 show this:
20 “When your son asks you in time to come, ‘What is the meaning of the testimonies and the statutes and the rules that the Lord our God has commanded you?’ 21 then you shall say to your son, ‘We were Pharaoh's slaves in Egypt. And the Lord brought us out of Egypt with a mighty hand. 22 And the Lord showed signs and wonders, great and grievous, against Egypt and against Pharaoh and all his household, before our eyes. 23 And he brought us out from there, that he might bring us in and give us the land that he swore to give to our fathers. 24 And the Lord commanded us to do all these statutes, to fear the Lord our God, for our good always, that he might preserve us alive, as we are this day. 25 And it will be righteousness for us, if we are careful to do all this commandment before the Lord our God, as he has commanded us.’
God's commands are about trusting Him to bring them out of Egypt, trusting God to bring them to the promised land, trusting God about doing what is for their good, trusting God to preserve them, and about trusting God to make them righteous through careful obedience. It was never the careful obedience that made them righteous, but rather it was trusting God about how they should live and about trusting in the promise of a redeemer from unrighteousness that made them righteous, which led to careful obedience.
Romans 10:4 Christ is the goal of the Law, which leads to righteousness for all who have faith in God. 5 Moses writes about the righteousness that comes from the Law:
The person who does these things will live by them. 6 But the righteousness that comes from faith talks like this:
Don’t say in your heart, “
Who will go up into heaven?” (that is, to bring Christ down) 7 or “
Who will go down into the region below?” (that is, to bring Christ up from the dead). 8 But what does it say?
The word is near you, in your mouth and in your heart (that is, the message of faith that we preach). 9 Because if you confess with your mouth “Jesus is Lord” and in your heart you have faith that God raised him from the dead, you will be saved. 10 Trusting with the heart leads to righteousness, and confessing with the mouth leads to salvation.
Deuteronomy 30:11-14 This commandment that I’m giving you right now is definitely not too difficult for you. It isn’t unreachable. 12 It isn’t up in heaven somewhere so that you have to ask, “Who will go up for us to heaven and get it for us that we can hear it and do it?” 13 Nor is it across the ocean somewhere so that you have to ask, “Who will cross the ocean for us and get it for us that we can hear it and do it?” 14 Not at all! The word is very close to you. It’s in your mouth and in your heart, waiting for you to do it.
Messiah is the goal of the law because the law points to him, is all about him, he is the one who can pay our penalty for disobeying the law, and he is the one who can cause us to meet the obedience that the law requires through faith (Romans 8:4). The message of faith that Paul preached goes all the way back to Deuteronomy 30, where they were to obey what God has commanded them by faith.