Right, like Ephesians 2:8-9.
Ephesians 2:1 says you have been quickened (or made alive). This obviously happened one time when we first accepted the gospel in 1 Corinthians 15:1-4, and we sought forgiveness with the Lord Jesus according to Romans 10:9, and Romans 10:13. We gain access to God’s grace through faith (Romans 5:2).
A person who believes the gospel message and receives Christ as their Savior when they have only a few minutes to live will be saved.
So in some cases, a person can be saved solely by God’s grace through faith without works.
Even babies who die are not even saved by faith. They are saved solely by God’s grace (Which is provided by what Jesus did for us with His death, burial, and resurrection).
Well, you are not quoting the entire verse that has the conditions in it.
I am sure you have read this verse a ton of times and never seen it.
Lets read the full version of this verse.
John 5:24
”Verily, verily, I say unto you,
He that heareth my word, and believeth on him that sent me, hath everlasting life, and shall not come into condemnation; but is passed from death unto life.”
So the conditions for you to have everlasting life, and to not come into condemnation and to pass from death unto life is….
#1. Hear or obey God’s Word (i.e., heareth my word)
(Note: A similar phrase of hearing or obeying God’s Word is used by Jesus in John 8:47).
#2 Believe on him (the Father) that sent Jesus.
So we have to be meeting these two conditions. Meaning, if you are not obeying God’s Word you do not have eternal life.
This is also expressed in 1 John 2:4. The person who says they know the Lord and they do not keep His commandments is a liar and the truth is not in them.