Amen the resurrection will happen just immediately before the judgement all the dead will be raised by the power of his word , both good and wicked to in order to be judged according to the everlasting words of the judge
“Marvel not at this: for the hour is coming, in the which all that are in the graves shall hear his voice, and shall come forth; ( resurrection of the dead )
they that have done good, unto the resurrection of life;
and they that have done evil, unto the resurrection of damnation.”
John 5:28-29 KJV
all the dead are raised but some are damned and others are given everlasting life according to the judgement seat of Jesus Christ who’s word will call the dead to life when he returns
“And I saw a great white throne, and him that 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, stand before God; ( they are raised up to face judgement )
and the books were opened:
and another book was opened, which is the book of life:
and the dead were judged out of those things which were written in the books, according to their works.
And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: ( all the dead are being raised up now ) and they were judged every man according to their works.
And death and hell were cast into the lake of fire. This is the second death. ( death and he’ll have now been destroyed they were only meant to hold people until judgement )
And whosoever was not found written in the book of life was cast into the lake of fire.”
Revelation 20:11-15 KJV
This is man’s point of no repentance when it’s too late but until then we can repent and believe and be saved from all this terrible stuff we’re warned about again and again so we won’t be held in death or he’ll or the grave or sea but we’ll be alive with the lord by his word forever
And Look where this truth leads
“Therefore we are always confident, knowing that, whilst we are at home in the body, we are absent from the Lord: we are confident, I say, and willing rather to be absent from the body, and to be present with the Lord.
Wherefore we labour, that, whether present or absent, we may be accepted of him.
For we must all appear before the judgment seat of Christ; that every one may receive the things done in his body, according to that he hath done, whether it be good or bad. Knowing therefore the terror of the Lord, we persuade men; but we are made manifest unto God; and I trust also are made manifest in your consciences.
Therefore if any man be in Christ, he is a new creature: old things are passed away; behold, all things are become new.
( new birth New Testament new sacrifice new preisthood new elect new promised land , new children of Abraham )
And all things are of God, who hath reconciled us to himself by Jesus Christ, and hath given to us the ministry of reconciliation; to wit, that God was in Christ, reconciling the world unto himself, not imputing their trespasses unto them; and hath committed unto us the word of reconciliation.
Now then we are ambassadors for Christ, as though God did beseech you by us: we pray you in Christ's stead, be ye reconciled to God.
For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.”
2 Corinthians 5:6, 8-11, 17-21 KJV