The Second Resurrection Then Jesus and all the retinue of holy angels, and all the redeemed saints, left the city. The angels surrounded their Commander and escorted Him on His way, and the train of redeemed saints followed. Then, in terrible, fearful majesty, Jesus called forth the wicked dead; and they came up with the same feeble, sickly bodies that went into the grave. What a spectacle! what a scene! At the first resurrection all came forth in immortal bloom; but at the second the marks of the curse are visible on all. The kings and noblemen of the earth, the mean and low, the learned and unlearned, come forth together. All behold the Son of man; and those very men who despised and mocked Him, who put the crown of thorns upon His sacred brow, and smote Him with the reed, behold Him in all His kingly majesty. Those who spit upon Him in the hour of His trial now turn from His piercing gaze and from the glory of His countenance. Those who drove the nails through His hands and feet now…
"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."
Both passages describe a resurrection of the wicked, with John 5:29 distinguishing it from the resurrection of the righteous. EGW expands on the characteristics of this resurrection, aligning with the general concept.
"All are seeking to hide in the rocks, to shield themselves from the terrible glory of Him whom they once despised. And, overwhelmed and pained with His majesty and exceeding glory, they with one accord raise their voices, and with terrible distinctness exclaim, “Blessed is He that cometh in the name of the Lord!” EW 292.2"
"And the kings of the earth, and the great men, and the rich men, and the chief captains, and the mighty men, and every bondman, and every free man, hid themselves in the dens and in the rocks of the mountains;"
The passage describes people hiding in rocks from God's wrath, similar to Revelation 6:15.
"And the multitudes that went before, and that followed, cried, saying, Hosanna to the Son of David: Blessed is he that cometh in the name of the Lord; Hosanna in the highest."
The exclamation "Blessed is he that cometh in the name of the Lord!" echoes the welcoming of Jesus into Jerusalem.