What did God tell Israel about why He gave them the Law?
Why are you asking us?
You're one of the ones coming here to teach Law, so teach it!
21 Tell me, you who want to be under the law, are you not aware of what the law says? (from Gal. 4)
7 They want to be teachers of the law, but they do not know what they are talking about or what they so confidently affirm. (from 1 Tim. 1)
Dear reader, do understand that the primary method of Torah folk, Law-keepers, Hebrew Roots folk, is to ask flawed questions. They do so to slowly guide you further and further away from the simplicity of the Good News of the Work of Christ - the Gospel - for salvation AND for your walk - in effort to steer you back to the Law for your walk.
Yet we know from Scripture that the Law, in light of the Work of Christ, does not produce in us godly living, but instead
- In Christ, believers are DEAD to the Law (Rom. 7:4-6)
- In Christ, believers are under Grace, not Law (Rom. 6:14, 15)
- Grace, not Law, teaches the believer how to say no to ungodliness (Tit. 2:11)
- The righteousness of God has been made manifest APART from the Law (Rom. 3:21-31)
- The power of sin is the Law (1 Cor. 15:56)
- That APART from the Law, sin is DEAD (Rom. 7:8)
Those who seek to preach Law-keeping cannot answer the above Scriptures (which are so clear), but to say that we must be confused

.
Evidently, Paul saw and dealt with this too:
6 I am astonished that you are so quickly deserting the one who called you to live in the grace of Christ and are turning to a different gospel— 7 which is really no gospel at all. Evidently some people are throwing you into confusion and are trying to pervert the gospel of Christ. (from Gal. 1)
So keep your eyes fixed on Christ, the author and perfecter of faith!
12 Therefore, since we are surrounded by such a great cloud of witnesses, let us throw off everything that hinders and the sin that so easily entangles. And let us run with perseverance the race marked out for us, 2 fixing our eyes on Jesus, the pioneer and perfecter of faith. (from Heb. 12)
-JGIG