Whoa! Slow down Rambo!
Define "sin" by the writers actual word which is
hamartia which basically means your going the wrong way--amiss, wayward.
Righteous is going the right way. Righteousness in life is a multifaceted jewel of immense beauty! Sure, it has a moral code of conduct but, that is just one facet! How I cook dinner tonight is also the pursuit of righteousness. Because, God made everything to exist according to His own standard which is righteousness. Therefore, everything exists as a challenge to us to be magnificent in the all things of our lives!
So when I make dinner, I must analyze the target food; heat source; timing; other flavoring ingredients; everything. If I do it just right, I can present you with a world class meal! If I fail, well.... I'll try again until I get it just right.
Everything that is beautiful is righteous! Everything that works is righteous! Everything that tastes good is righteous! Everything else sucks! Everything else is broken or ineffective!
When we pursue the righteousness of our Creator, we are pursuing the very best of everything which He has made to function perfectly/righteously--for our benefit!
You then have a major head start over anyone whom does not, can not understand this!
We learn from it how to be the best wife, husband, mother, father, son, daughter, employee, employer, scientist, comedian, doctor, lawyer, etc, and most all, friend!
"Obtaining eternal life" is understanding that your life with God is right here, right now where you live! The word erroneously translated as "eternal" is
aiOnios and means: breath-being-belonging-to-her
zOE-life(feminine) right here, right, now.
If you pursue the
zOE-life of God's promised abundance, right here, right now, given through seeking the perfection of the righteousness in the all things of His creation and just follow Him, the Great Shepherd, as He prepares and gives opportunity, the only thing you should concern yourself with the after-life is hoping He has your correct crown size!