John 5:29

29 and come out—those who have done what is good will rise to live, and those who have done what is evil will rise to be condemned.

Read John 5:29 Using Other Translations

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.
and come out, those who have done good to the resurrection of life, and those who have done evil to the resurrection of judgment.
and they will rise again. Those who have done good will rise to experience eternal life, and those who have continued in evil will rise to experience judgment.