Do you understand the purpose of the 10 commandments?
The first five are spiritual. Obedience to these five demonstrates the love one has for the Creator. The last five are civil, and required for a civilized society. The Creator is the same yesterday, today and will be forever. And He said law breakers will NOT enter eternity.
Might say they are God's rule book by which He will judge, each and every soul that was born from above. Little more of John 3, that the mislead do not realize the first requirement for any to 'see' the eternity is to take this flesh journey.... or as Christ said to be born from above. You know, at conception the already existing soul is placed in utero, NOT this born again junk which is not. Love of the Creator is a desire to live by His Commandments. Salvation is a completely different subject.