Revelation 22:11 He who is unjust, let him be unjust still; he who is filthy, let him be filthy still; he who is righteous, let him be righteous still; he who is holy, let him be holy still.
This is spoken to the all the world - including God's people.
To the world, 'let him be unjust still'. The time for repentance in this age is almost over - no point in trying to get right with God at the last moment like the thief on the cross. There will be no transformation available to you - you will be judged 'guilty' and have to wait till the next time for transformation (probably after the 2nd resurrection).
To the church (bride) 'let him be holy still.' Hang on, your reward and eternal life is almost at hand, Jesus will be here soon!
Behold, I am coming quickly, and My reward is with Me, to render to every man according to what he has done v12
There are billions who have died and never even heard of Christ - there are those few (by comparison) who perhaps have dallied to respond to whatever call God has made to them and now the time is up, or those who never understood who Jesus was and remained deceived - the present opportunity for salvation is passing or has past.
But do not let this one fact escape your notice, beloved, that with the Lord one day is like a thousand years, and a thousand years like one day. 9The Lord is not slow about His promise, as some count slowness, but is patient toward you, not wishing for any to perish but for all to come to repentance. 1 Pet 3:8
who desires all men to be saved and to come to the knowledge of the truth. 1 Tim 2:4
For God did not send His Son into the world to condemn the world, but to save the world through Him. John 3:17
However, in Rev, God's focus is on the righteous - the ones in Christ who have lived faithfully for decades, for eons waiting till this moment of grand and glorious change! Rev 22 is all about the brethren about to join with the firstborn from the dead - Jesus - a time of great celebration.
But we mustn't be so quick to dismiss the immoral and liars etc who are now outside the 'gates' and will not be allowed in. If they have refused Christ - he will refuse them, but they are not abandoned or 'sent to hell' - not yet. These are addressed in other places like;
The rest of the dead did not come to life until the thousand years were completed Rev 20:5
they (the now eternal righteous) will be priests of God and of Christ and will reign with Him for a thousand years.
Who will they reign over - not one another, but the alive outside the gates. This is now their only opportunity to truly know and respond to the gracious offer of salvation. Satan is bound and no longer deceiving mankind - the earth is Christs.
The Book is still accepting names - probably during the 1000 years. People will probably still die of 'old age', there will be a very different life experience when Jesus is in charge and the wicked deception that has infiltrated every human system is removed. Education, health, medicine, science, politics, religion, history, architecture, engineering will all be totally transformed too - reborn in Christ.