“…people are destined to die once, and after that to face judgment,”
Hebrews 9: 27
That’s what happens.
The Bible teaches that humans are a triune being -comprising body, soul and spirit.
When our bodies die our soul and spirit continue to exist either with the Lord Jesus Christ, first waiting in a peaceful state until the day each person receives a new physical body to enjoy glorious, joyful eternal life or else cut off from Him in suffering and torment in Hades while awaiting the judgement day.
At His Second Coming Jesus will return to the earth and those who belong to Him will be resurrected physically into immortal bodies like His immortal body when He rose from the dead on the third day.
A thousand years after His return the rest of the dead will also be physically resurrected to face their judgement. The Lord Jesus Christ will be the Judge.
“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
The fate of those who belong to the Lord Jesus Christ (those who have put their faith in Him) is gloriously wonderful
“ And God will wipe away every tear from their eyes; there shall be no more death, nor sorrow, nor crying. There shall be no more pain, for the former things have passed away.”
Revelation 21:4
There is a permanent and irrevocable separation between those who are God’s children and those whom He does not know, the ones who have rejected His offer of salvation.