My partial quote that you responded to pertained to what Jesus said, and not to what Paul said. Contextually, Jesus was definitely referring to the law of Moses.
Jhn 5:45
Do not think that I will accuse you to the Father: there is one that accuseth you, even Moses, in whom ye trust.
Jhn 5:46
For had ye believed Moses, ye would have believed me: for he wrote of me.
Jhn 5:47
But if ye believe not his writings, how shall ye believe my words?
As far as Paul is concerned, he directly quoted Moses from Deuteronomy 30:11-14, and he did so in relation to the righteousness which is of faith.
Deu 30:11
For this commandment which I command thee this day, it is not hidden from thee, neither is it far off.
Deu 30:12
It is not in heaven, that thou shouldest say, Who shall go up for us to heaven, and bring it unto us, that we may hear it, and do it?
Deu 30:13
Neither is it beyond the sea, that thou shouldest say, Who shall go over the sea for us, and bring it unto us, that we may hear it, and do it?
Deu 30:14
But the word is very nigh unto thee, in thy mouth, and in thy heart, that thou mayest do it.
Rom 10:6
But the righteousness which is of faith speaketh on this wise, Say not in thine heart, Who shall ascend into heaven? (that is, to bring Christ down from above)
Rom 10:7
Or, Who shall descend into the deep? (that is, to bring up Christ again from the dead)
Rom 10:8
But what saith it? The word is nigh thee, even in thy mouth, and in thy heart: that is, the word of faith, which we preach;
Rom 10:9
That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.
Rom 10:10
For with the heart man believeth unto righteousness; and with the mouth confession is made unto salvation.
The children of Israel had the gospel preached unto them, and they could have inherited eternal life through it. Unfortunately, the gospel was not mixed with faith in most who heard it.
Heb 4:2
For unto us was the gospel preached, as well as unto them: but the word preached did not profit them, not being mixed with faith in them that heard it.
In context, the them was the children of Israel.
Jhn 5:45
Do not think that I will accuse you to the Father: there is one that accuseth you, even Moses, in whom ye trust.
Jhn 5:46
For had ye believed Moses, ye would have believed me: for he wrote of me.
Jhn 5:47
But if ye believe not his writings, how shall ye believe my words?
As far as Paul is concerned, he directly quoted Moses from Deuteronomy 30:11-14, and he did so in relation to the righteousness which is of faith.
Deu 30:11
For this commandment which I command thee this day, it is not hidden from thee, neither is it far off.
Deu 30:12
It is not in heaven, that thou shouldest say, Who shall go up for us to heaven, and bring it unto us, that we may hear it, and do it?
Deu 30:13
Neither is it beyond the sea, that thou shouldest say, Who shall go over the sea for us, and bring it unto us, that we may hear it, and do it?
Deu 30:14
But the word is very nigh unto thee, in thy mouth, and in thy heart, that thou mayest do it.
Rom 10:6
But the righteousness which is of faith speaketh on this wise, Say not in thine heart, Who shall ascend into heaven? (that is, to bring Christ down from above)
Rom 10:7
Or, Who shall descend into the deep? (that is, to bring up Christ again from the dead)
Rom 10:8
But what saith it? The word is nigh thee, even in thy mouth, and in thy heart: that is, the word of faith, which we preach;
Rom 10:9
That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.
Rom 10:10
For with the heart man believeth unto righteousness; and with the mouth confession is made unto salvation.
The children of Israel had the gospel preached unto them, and they could have inherited eternal life through it. Unfortunately, the gospel was not mixed with faith in most who heard it.
Heb 4:2
For unto us was the gospel preached, as well as unto them: but the word preached did not profit them, not being mixed with faith in them that heard it.
In context, the them was the children of Israel.