Passage
He that is unrighteous, let him do unrighteousness still: and he that is filthy, let him be made filthy still: and he that is righteous, let him do righteousness still: and he that is holy, let him be made holy still.
He that is unrighteous, let him do unrighteousness still: and he that is filthy, let him be made filthy still: and he that is righteous, let him do righteousness still: and he that is holy, let him be made holy still.
Revelation 22:9 And he saith unto me, See thou do it not: I am a fellow-servant with thee and with thy brethren the prophets, and with them that keep the words of this book: worship God.
Revelation 22:10 And he saith unto me, Seal not up the words of the prophecy of this book; for the time is at hand.
Revelation 22:11 He that is unrighteous, let him do unrighteousness still: and he that is filthy, let him be made filthy still: and he that is righteous, let him do righteousness still: and he that is holy, let him be made holy still.
Revelation 22:12 Behold, I come quickly; and my reward is with me, to render to each man according as his work is.
Revelation 22:13 I am the Alpha and the Omega, the first and the last, the beginning and the end.
The verse centers on "unrighteous", "unrighteousness", "still", and "filthy". It is saying that the verse draws attention to "unrighteous" and "unrighteousness", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 10's "And he saith unto me Seal not..." into verse 12's "Behold I come quickly and my reward...", so "unrighteous" and "unrighteousness" belong inside that flow. In Revelation context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "unrighteous" and "unrighteousness" with trust shaped by these words, not by a vague optimism outside the passage.