I’m pretty sure you put it at the resurrection in 1 Corinthians 15. That’s not the end of the earth.
The rapture;
“For the Lord himself shall descend from heaven with a shout, with the voice of the archangel, and with the trump of God: and the dead in Christ shall rise first: Then we which are alive and remain shall be caught up together with them in the clouds, to meet the Lord in the air: and so shall we ever be with the Lord.” (1 Thessalonians 4:16–17)
“Behold, I shew you a mystery; We shall not all sleep, but we shall all be changed, In a moment, in the twinkling of an eye, at the last trump: for the trumpet shall sound, and the dead shall be raised incorruptible, and we shall be changed. For this corruptible must put on incorruption, and this mortal must put on immortality.” (1 Corinthians 15:51–53)
But it happens after the resurrection. Which happens on the last day
“In a moment, in the twinkling of an eye, at the last trump: for the trumpet shall sound, and the dead shall be raised incorruptible, and we shall be changed.” 1 Corinthians 15:52 (KJV 1900)
“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; 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)
“And this is the Father’s will which hath sent me, that of all which he hath given me I should lose nothing, but should raise it up again at the last day.” (John 6:39)
“No one can come to Me unless the Father who sent Me draws him, and I will raise him up on the last day.” John 6:44 (HCSB)
“so man lies down and does not rise; until the heavens are no more, they will not awake nor arise from their sleep.” (Job 14:12) (NET)