I am not sure that is correct. God gave His laws, both the ceremonial and the Moral laws to His people. He also gave them the Tanakh and, of course that includes the prophets.
However, they were instructed to be the priest to the pagan / Gentle world.. They had been given the Word to teach all of Gods people.
God’s Words are meant for every one of His creation- Jew or Gentile.
I quoted the verse exactly as the Holy Spirit said it. Paul DID say…
“Do not become entangled again with a yoke of BONDAGE..” 5:1
Hagar is Mt. Sinai which gives birth to BONDAGE” 4:24. That’s the Old Testament law that was given by Moses on Mt. Sinai.
“We (Christian’s) are Not children of the BONDWOMAN (old law), but of the free ( Christ).”4:.31. Don’t go back to that law.
“ If you become circumcised ( old law) Christ will profit you nothing.” 5:2.
If you try to keep just one part of the old law, “he is a debtor to keep the WHOLE LAW.” Animal sacrifices and all if it. 5:3
Then the Holy Spirit says, “YOU HAVE BECOME ESTRANGED FROM CHRIST, you who attempt to be justified by the law ( old), YOU HAVE FALLEN FROM GRACE.”
Now what part of those scriptures IS NOT CORRECT?
Galations 2:16, “knowing that a man is NOT justified by the works of the law, but by faith in Jesus Christ.”
Galations 3:11, “ But that NO ONE is justified by the law in the sight of God is evident.”
Galations 3:24, “The law was our TUTOR to bring us to Christ that we might be justified by faith. But after faith has come, WE ARE NO LONGER UNDER A TUTOR.” That is the same thing as saying “we are no longer under the old law.
I don’t know what you think is not correct. It is not hard to understand what the Spirit is saying here. I have not only quoted the passages word for word, I have also given you the book, chapter, and verse where you can read them for yourself.