Revelation 22:14 in the King James Version
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.
Context
13 I am the Alpha and the Omega, the First and the Last, the Beginning and the End.
14 Blessed are those who do his commandments, that they may have the right to the tree of life, and may enter in by the gates into the city.
15 Outside are the dogs, the sorcerers, the sexually immoral, the murderers, the idolaters, and everyone who loves and practices falsehood.