Revelation 20:5-6 NIV

5 (The rest of the dead did not come to life until the thousand years were ended.) This is the first resurrection.

References for Revelation 20:5

6 Blessed and holy are those who share in the first resurrection. The second death has no power over them, but they will be priests of God and of Christ and will reign with him for a thousand years.

References for Revelation 20:6