I checked that verse on Biblehub in an interlinear version...which has "Judgement" for the Greek word, not "damnation." Your KJV is biased and tweaked toward Hell and Damnation. It is not reliable as a final authority on these matters.
Go back and check your post - Chaper 22 was the subject:
"Rev_22:11 He that is unjust, let him be unjust still: and he which is filthy, let him be filthy still: and he that is righteous, let him be righteous still: and he that is holy, let him be holy still." That is what you said, and what I responded to.
YOU ARE NOT EVEN SEEING WHAT THE VERSES SAY!
Rev 20:7
And when the thousand years are expired, Satan shall be loosed out of his prison,
Rev 20:8 And shall go out to deceive the nations which are in the four quarters of the earth, Gog and Magog, to gather them together to battle: the number of whom is as the sand of the sea.
Rev 20:9 And they went up on the breadth of the earth, and compassed the camp of the saints about, and the beloved city: and fire came down from God out of heaven, and devoured them.
The wicked have been dead for a 1000 years---Rev_20:5
But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection.
The saved have been resurrected unto eternal life with God for that 1000 years, and the wicked are left dead.
When they come up, are they repentant?? No! They want to take the city of God by force! God does what He does out of defense for the saved from a final assault by the wicked! Nothing here about repentance!
You want the word judgment instead of damnation? OK. They are resurrected unto their judgement. The saved have already had their judgement, it came with Jesus---eternal life.
And this is the judgement of the wicked.
Rev 20:11 And I saw a great white throne, and him that sat on it, from whose face the earth and the heaven fled away; and there was found no place for them.
Rev 20:12 And I saw the dead, small and great, stand 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 those things which were written in the books, according to their works.
Rev 20:13 And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works.
Rev 20:14 And death and hell were cast into the lake of fire. This is the second death.
Rev 20:15 And whosoever was not found written in the book of life was cast into the lake of fire.
OK: Here is the context of Rev 22:
Rev 22:6 And he said unto me, These sayings are faithful and true: and the Lord God of the holy prophets sent his angel
to shew unto his servants the things which must shortly be done.
Rev 22:7 Behold, I come quickly: blessed is he that keepeth the sayings of the prophecy of this book.
Rev 22:10 And he saith unto me, Seal not the sayings of the prophecy of this book:
for the time is at hand.
Rev 22:11 He that is unjust, let him be unjust still: and he which is filthy, let him be filthy still: and he that is righteous, let him be righteous still: and he that is holy, let him be holy still.
Rev 22:12 And, behold, I come quickly; and my reward is with me, to give every man according as his work shall be.
Rev 22:13 I am Alpha and Omega, the beginning and the end, the first and the last.
Rev 22:14 Blessed are they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city.
Rev 22:15 For without are dogs, and sorcerers, and whoremongers, and murderers, and idolaters, and whosoever loveth and maketh a lie.
Rev 22:16 I Jesus have sent mine angel to testify unto you these things in the churches. I am the root and the offspring of David, and the bright and morning star.
Rev 22:17 And the Spirit and the bride say, Come. And let him that heareth say, Come. And let him that is athirst come. And whosoever will, let him take the water of life freely.
Rev 22:18 For I testify unto every man that heareth the words of the prophecy of this book, If any man shall add unto these things, God shall add unto him the plagues that are written in this book:
Rev 22:19 And if any man shall take away from the words of the book of this prophecy, God shall take away his part out of the book of life, and out of the holy city, and from the things which are written in this book.
Rev 22:20 He which testifieth these things saith, Surely I come quickly. Amen. Even so, come, Lord Jesus.
Rev 22:21 The grace of our Lord Jesus Christ be with you all. Amen.