It's 100% relevant in the context of John 5:29. The fact that Jesus doesn't mention anything else but works, makes this relevant to them.
Yes. I'm sure we can justify any belief we want when we place a single verse in a silo.
This is where the role of Church authority comes in. What do they say regarding this scripture?
"The other salvation is that which is given to the righteous, those who confess repentance
and a willingness to obey the commandments of God. These are they of whom the Savior spoke, who have "everlasting life," and shall not come into condemnation; but have "passed from death unto life"
(John 5:24) which life is to dwell in eternal glory." (Joseph Fielding Smith, April 1956,
The Significance of the Atonement)
At the time of the Second Coming, Jesus will judge the souls of all mankind in an inevitable judgment. In the gospel of John we read:
“The Father judgeth no man, but hath committed all judgment unto the Son: …
“The Father … hath … given to the Son … authority to execute judgment. …
“For the hour is coming, in the which all that are in the graves shall hear his voice,
“And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil, unto the resurrection of damnation” John 5:22, 26–29 The prophet Mormon wrote: “Ye must all stand before the judgment-seat of Christ, yea, every soul who belongs to the whole human family of Adam; and ye must stand to be judged of your works, whether they be good or evil” Morm. 3:20 (Joseph B Wirthlin, October 1993,
Our Lord and Savior)
"...the Prophet Joseph Smith saw that the Gospel of the Kingdom could be preached not only to people in the flesh, but to people out of the flesh; John 5:25-29 D&C 76:15 that when people depart this life they retain their identity; that they can be informed; that they can receive and reject; and he was also shown that the time must come when all shall hear the Gospel of the Lord Jesus Christ, because by that they shall be judged. The Apostle Peter says: “For this cause was the gospel preached also to them which are dead, that they might be judged according to men in the flesh, but live according to God in the spirit.” 1 Pet. 4:6 Everyone must hear the Gospel and be judged by it. D&C 138:32-35 It would not be just to judge anyone by that Gospel if they never heard it." (Charles W. Penrose, Journal of Discourses 22:163)
"Our mortal life, however, is only temporary and will end with the death of our physical body. But the essence of who you and I are will not be destroyed. Our spirits will continue living and await the Resurrection—a free gift to all by our loving Heavenly Father and His Son, Jesus Christ.
2 [See
John 5:28–29 At the Resurrection, our spirits and bodies will be reunited, free from pain and physical imperfections.
After the Resurrection, there will be a Day of Judgment. While all will eventually be saved and inherit a kingdom of glory, those who trust in God and seek to follow His laws and ordinances will inherit lives in the eternities that are unimaginable in glory and overwhelming in majesty." (Deiter F Uchtdorf, Oct 2016,
O How Great the Plan of our God)
Clearly, there is value in accepting the Savior, which are the works being spoken of.