Simon Peter answered him, “Lord, to whom shall we go? You have the words of eternal life. We have come to believe and to know that you are the Holy One of God.” (John 6:68-69)
Jesus has the words of eternal life, not Moses.
“You study the Scriptures diligently because you think that in them you have eternal life.” (John 5:39)