Forever is a concept that we have trouble expressing because the future aspects of eternity are accessible to us only as foretaste, and the past aspects are revealed to us in snippets or highligjts of God’s wonders and great love. Most of us would love it if the story of eternal life contained the miraculous and power-soaked liberation of our ethnic group or nation. Not one millimetre of truth’s golden thread survives unshredded in the book of Exodus, because eternity and the human experience of it can never be achieved by a risky covenant in the hands of mortal creatures and that remains wholly a Messianic function.
John 6:51 has the primary offer (covenant or testament) of which no part appears in the books that narrate divine interventions in ancient Israel.
I am the living bread that came down out of heaven; if anyone eats of this bread, he will live forever; and the bread also which I will give for the life of the world is My flesh.”
No mention of eternal life exists in the Pentateuch except Genesis 3:22
Then the Lord God said, “Behold, the man has become like one of Us, knowing good and evil; and now, he might stretch out his hand, and take also from the tree of life, and eat, and live forever”–
The best a keeper of the Sinai covenant could expect was to be “not far from the kingdom” because priestly kingdom people were always going to lack faith, hope and love. We and our children will always be learning and reciting and never acknowledge the truth. The ungodly has the law and the just has the Father’s great love and lifegiving oath.
When Yeshua tells one of his contemporaries that he shall live if he complies with the covenant he was not addressing the life in the kingdom of God. Long life was a function of respect for one’s parents.
If you want to be accurate there are six commands (5 prohibitions and one injunction) in the path to life saying in Matthew 19.