Those are in the grave hear Jesus’ Voice:
“Most assuredly, I say to you, the hour is coming, and now is, when the dead will hear the voice of the Son of God; and those who hear will live. For as the Father has life in Himself, so He has granted the Son to have life in Himself, and has given Him authority to execute judgment also, because He is the Son of Man. Do not marvel at this; for the hour is coming in which all who are in the graves will hear His voice and come forth—those who have done good, to the resurrection of life, and those who have done evil, to the resurrection of condemnation.” John 5:25-29 (NKJV)
Jesus voice was heard by the dead once when He died and went to the Hades, the hell. And those people who were righteous came out of grave and were seen by many. Matthew 27:51-54(NKJV) And the Lord Jesus preached to the rebellious spirits who were there before the flood while Noah was preaching about the righteousness of God. These should have received Jesus gladly and definitely would have believed Him and escaped the hell they were experiencing. This answers to some who question about what had happened to the people who lived before Jesus (BC), the Son of God came to earth (AD) to save those who believe in Him. 1 Peter 3:18-22(NKJV); 2 Peter 2:4-5(NKJV)
Those who are wise shine like stars:
““At that time Michael shall stand up, The great prince who stands watch over the sons of your people; And there shall be a time of trouble, Such as never was since there was a nation, Even to that time. And at that time your people shall be delivered, Every one who is found written in the book. And many of those who sleep in the dust of the earth shall awake, Some to everlasting life, Some to shame and everlasting contempt. Those who are wise shall shine Like the brightness of the firmament, And those who turn many to righteousness Like the stars forever and ever.” Daniel 12:1-3 (NKJV)
For prophet Daniel too this truth was revealed by Jesus Himself appearing in his vision and explaining about Michael, the archangel watching over the people of God, that end time great trouble come to the country of Israel as never happened before and they will be delivered finally by Jesus Christ appearing in His Second Coming. Zechariah 12:10-14(NKJV) Then the Great Day of Judgment will happen, earth and heaven will be no more and God Himself will judge the dead according to what they have done. Some who did good to everlasting life and some who did evil to everlasting shame. But those who received the gift of righteousness and preached the gospel of grace turning many towards Jesus will shine like stars.
“Then I saw a great white throne and Him who sat on it, from whose face the earth and the heaven fled away. And there was found no place for them. And I saw the dead, small and great, standing before God, and books were opened. And another book was opened, which is the Book of Life. And the dead were judged according to their works, by the things which were written in the books. The sea gave up the dead who were in it, and Death and Hades delivered up the dead who were in them. And they were judged, each one according to his works. Then Death and Hades were cast into the lake of fire. This is the second death. And anyone not found written in the Book of Life was cast into the lake of fire.” Revelation 20:11-15 (NKJV)