Eternal life is never earned by anything we do -- keeping commandments, making sacrifices, tithing. attending church services, etc.
So--connecting obeying the commandments with eternal life--isn't earning eternal life?
Matthew 19:16-19---King James Version
16 And, behold, one came and said unto him, Good Master,
what good thing shall I do, that I may have eternal life?
17 And he said unto him, Why callest thou me good? there is none good but one, that is, God:
but if thou wilt enter into life, keep the commandments.
18 He saith unto him, Which? Jesus said
, Thou shalt do no murder, Thou shalt not commit adultery, Thou shalt not steal, Thou shalt not bear false witness,
19 Honour thy father and thy mother: and, Thou shalt love thy neighbour as thyself.
Eternal life comes via John 3:16 and Ephesians 2:8-10 and Romans 10:9-13.
What about Hebrews5:9?
Hebrews 5:9---King James Version
9 And being made perfect, he became the author of
eternal salvation unto all them that obey him;
Regarding Matthew 19, the young ruler kept-- or said he kept a number of the commandments regarding how to treat others. It was legalism and he checked the boxes. We know when Jesus taught about murder he equated it with unrighteous anger and adultery was equated with looking at a woman with lust. Physical act wasn't required. The young ruler missed the deeper aspects of "keeping the commandments".
How does that equate to Jesus' testimony being false?
Matthew 19:16-19---King James Version
16 And, behold, one came and said unto him, Good Master,
what good thing shall I do, that I may have eternal life?
17 And he said unto him, Why callest thou me good? there is none good but one, that is, God:
but if thou wilt enter into life, keep the commandments.
18 He saith unto him, Which? Jesus said
, Thou shalt do no murder, Thou shalt not commit adultery, Thou shalt not steal, Thou shalt not bear false witness,
19 Honour thy father and thy mother: and, Thou shalt love thy neighbour as thyself.
These scriptures should help:
Hos 6:6
For I desire mercy and not sacrifice, And the knowledge of God more than burnt offerings.
NKJV
Jonah 2:9
But I will sacrifice to You With the voice of thanksgiving; I will pay what I have vowed. Salvation is of the Lord."
NKJV
Ps 107:21-22
Oh, that men would give thanks to the Lord for His goodness, And for His wonderful works to the children of men!
22 Let them sacrifice the sacrifices of thanksgiving, And declare His works with rejoicing.
NKJV
Ps 116:17
I will offer to You the sacrifice of thanksgiving, And will call upon the name of the Lord.
NKJV
So what do we learn? scripture is consistent. There was a ritual law and a "law" that God placed in the heart of people. Adam had it. Abraham had it. Noah had it. we see evidence of the 10 commandments in their lives (moral law) throughout their stories in the Old Testament. Those weren't etched in stone until Moses.
How are you relating any of that to mean this isn't truth?
Revelation 22:14---King James Version
14 Blessed are
they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city.
So no... I don't believe that keeping the commandments in your construct is connected with eternal life.
That's obvious, but your argument is with Jesus Christ--not me:
Matthew 19:16-19---King James Version
16 And, behold, one came and said unto him, Good Master,
what good thing shall I do, that I may have eternal life?
17 And he said unto him, Why callest thou me good? there is none good but one, that is, God:
but if thou wilt enter into life, keep the commandments.