Which law is Paul speaking about......he tells us and you took it as only worshipping God is a curse or the blessing and sanctification that God gives to man who does what He asks as a curse when Paul didn't.
-"For as many as are of the works of the law are under the curse; for it is written, "Cursed is everyone who does not continue in all things which are written in the book of the law, to do them."
This is what Moses wrote in a book
Deut 31:24 So it was, when Moses had completed writing the words of this law in a book, when they were finished, 25&that Moses commanded the Levites, who bore the ark of the covenant of the Lord, saying: 26&“Take this Book of the Law, and put it beside the ark of the covenant of the Lord your God, that it may be there as a witness against you;
Everything Paul is speaking about is the laws that Moses wrote which were ADDED because of sin. The law that was added because of sin cannot be the same law that IS sin when we break. The Ten Commandments, the only laws God has under His mercy seat which His blood atones for. The laws that God wrote, not man , the Ten Commandments- not 9 that were all INSIDE the ark of God's covenant, the law of Moses was outside.
Exo 31:18 And when He had made an end of speaking with him on Mount Sinai, He gave Moses two tablets of the Testimony, tablets of stone, written with the finger of God.
Deut 4:13 So He declared to you His covenant which He commanded you to perform, the Ten Commandments; and He wrote them on two tablets of stone
Exo 25:21 21 You shall put the mercy seat on top of the ark, and in the ark you shall put the Testimony that I will give you.
Paul's writings which are Scripture came with a warning many would twist out of context 2Peter3:16 I would never use Paul to correct God. Paul was a proclaimed servant of God, never His corrector. Why we need to understand the OT, because it explains the NT. Paul was quoting OT and without understanding these references, we may end up doing exactly what the warnings says 2Peter3:16