Revelation 21:27 in the King James Version
And there shall in no wise enter into it any thing that defileth, neither whatsoever worketh abomination, or maketh a lie: but they which are written in the Lamb’s book of life.
Context
26 and they shall bring the glory and the honor of the nations into it so that they may enter.
27 There will in no way enter into it anything profane, or one who causes an abomination or a lie, but only those who are written in the Lamb’s book of life.