23 Now before the time for this trusting faithfulness came, we were imprisoned in subjection to the system which results from perverting the Torah into legalism, kept under guard until this yet-to-come trusting faithfulness would be revealed. 24 Accordingly, the Torah functioned as a custodian until the Messiah came, so that we might be declared righteous on the ground of trusting and being faithful. 25 But now that the time for this trusting faithfulness has come, we are no longer under a custodian. 26 For in union with the Messiah, you are all children of God through this trusting faithfulness; Galatians 3
I like this version because it communicates the point clearer at least to my mind.
The Torah itself was not bad but the Jews made it legalistic by trusting in their own ability to obey and gain salvation. Yet if they had simply put their faith in God then they would have attained to the righteousness of the law for real and not just on the outside.
Faith does not do away with the law as I am sure you agree, rather Faith is what makes the law reality in the life as it is written:
Romans 3
29 Or is God the God of the Jews only? Isn't he also the God of the Gentiles? Yes, he is indeed the God of the Gentiles; 30 because, as you will admit, God is one. Therefore, he will consider righteous the circumcised on the ground of trusting and the uncircumcised through that same trusting. 31 Does it follow that we abolish Torah by this trusting? Heaven forbid! On the contrary, we confirm Torah.
God never asked the Jews to do something that could not be done, as it is written:
Deut 30
10 "However, all this will happen only if you pay attention to what ADONAI your God says, so that you obey his mitzvot and regulations which are written in this book of the Torah, if you turn to ADONAI your God with all your heart and all your being. 11 For this mitzvah which I am giving you today is not too hard for you, it is not beyond your reach. 12 It isn't in the sky, so that you need to ask, 'Who will go up into the sky for us, bring it to us and make us hear it, so that we can obey it?' 13 Likewise, it isn't beyond the sea, so that you need to ask, 'Who will cross the sea for us, bring it to us and make us hear it, so that we can obey it?' 14 On the contrary, the word is very close to you - in your mouth, even in your heart; therefore, you can do it!
They were right that the law had to be obeyed just as it does today, there is no change in the command to obey the 10 commandments. but the Gentiles are able to obey them perfectly because they do so by faith and not by legalistic obedience to the letter. but by the Spirit as it is written:
Rom 9
30 So, what are we to say? This: that Gentiles, even though they were not striving for righteousness, have obtained righteousness; but it is a righteousness grounded in trusting! 31 However, Isra'el, even though they kept pursuing a Torah that offers righteousness, did not reach what the Torah offers. 32 Why? Because they did not pursue righteousness as being grounded in trusting but as if it were grounded in doing legalistic works. They stumbled over the stone that makes people stumble.
Thus it is written which is also true for the Jews:
Rom 1
16 For I am not ashamed of the Good News, since it is God's powerful means of bringing salvation to everyone who keeps on trusting, to the Jew especially, but equally to the Gentile. 17 For in it is revealed how God makes people righteous in his sight; and from beginning to end it is through trust - as the Tanakh puts it, "But the person who is righteous will live his life by trust."
See is this not true as the apostle said quoting the Tanakh, Faith was and is the only way of righteousness:
Hab 2
4 "Look at the proud: he is inwardly not upright; but the righteous will attain life through trusting faithfulness.
notice the problem is inwardly. This is why Jesus kept pointing out that they are clean on the outside but not on the inward, they obeyed the letter but the law was not in their hearts as it is written:
Isaiah 29
13 Then Adonai said: "Because these people approach me with empty words, and the honor they bestow on me is mere lip-service; while in fact they have distanced their hearts from me, and their 'fear of me' is just a mitzvah of human origin
Yet even when the law was given was it not said to have the law in their hearts?
Deut 6
4 "Sh'ma, Yisra'el! ADONAI Eloheinu, ADONAI echad [Hear, Isra'el! ADONAI our God, ADONAI is one]; 5 and you are to love ADONAI your God with all your heart, all your being and all your resources. 6 These words, which I am ordering you today, are to be on your heart;
So it is that the conditions are the same in this case, The law is meant to be kept but not simply the letter of the law but the spirit of the law written in our hearts by Faith/trust. as it is written:
Romans 8
1 Therefore, there is no longer any condemnation awaiting those who are in union with the Messiah Yeshua. 2 Why? Because the Torah of the Spirit, which produces this life in union with Messiah Yeshua, has set me free from the "Torah" of sin and death. 3 For what the Torah could not do by itself, because it lacked the power to make the old nature cooperate, God did by sending his own Son as a human being with a nature like our own sinful one [but without sin]. God did this in order to deal with sin, and in so doing he executed the punishment against sin in human nature, 4 so that the just requirement of the Torah might be fulfilled in us who do not run our lives according to what our old nature wants but according to what the Spirit wants.
and again:
Heb 8
10 "'For this is the covenant which I will make with the house of Isra'el after those days,' says ADONAI: 'I will put my Torah in their minds and write it on their hearts; I will be their God, and they will be my people.
Blessings and may the peace of God be upon you.