John 3:14-15 KJV — And as Moses lifted up the serpent in the wilderness, even so must the Son of man be lifted up: 15 That whosoever believeth in him should not perish, but have eternal life.
John 6:29 KJV — Jesus answered and said unto them, This is the work of God, that ye believe on him whom he hath sent.
John 8:24 KJV — I said therefore unto you, that ye shall die in your sins: for if ye believe not that I am he, ye shall die in your sins.
(all passages cited from KJV)
These are just three examples. If Christ told others in the Gospel of John to believe on Him to be saved, why did He tell the rich young ruler in Matthew 19, Mark 10, and Luke 18 that, in order to "enter into life", as He says, the ruler had to follow the Old Testament Law?
I understand that the answer may be found in John 3:14-15, which seems to suggest that people were to believe on Christ afterafter He had died on the cross, but this does not explain why He told others to believe on Him to be saved without referencing the Crosscross.
Thank you.