Revelation 20:6

Happy and holy is he who has a part in the first resurrection! on such, the second death shall have no power; but they shall be the priests of God, and of Christ: and they shall reign with him a thousand years.

Revelation 20:12-13

And I saw the dead, small and great, standing before God; and the books were opened: and another book was opened, which is the book of life; and the dead were judged out of the things written in the books, according to their works.

Treasury of Scripture Knowledge

Summary

And have hope toward God, which they themselves also allow, that there shall be a resurrection of the dead, both of the just and unjust.

Bible References

That

Revelation 20:6
Happy and holy is he who has a part in the first resurrection! on such, the second death shall have no power; but they shall be the priests of God, and of Christ: and they shall reign with him a thousand years.