From the standpoint of God the Torah came first.
That is why Christianity is a rival of Judaism. God’s Torah is perfect and eternal. The Laws are binding forever and are never to be changed. Jesus did away with the Law which is strictly forbidden.
RE: Jesus did away with the Law which is strictly forbidden.
“Do not think that I have come to abolish the Law or the Prophets; I have not come to abolish them but to fulfill them. (Matthew 5:17)
Jesus fulfilled the Law, for us and as us. When David slew Goliath Israel said “We won!” A representative victory. Jesus IS our Passover lamb, HE is our great High Priest. Through one man— the man Christ Jesus—we were saved. Etc.
Torah was fulfilled in Christ. Else us Gentiles would have no hope!