Revelation 17:8

The beast that you saw, was, and is not, and is soon to ascend from the abyss. And he goes forth unto destruction. And the inhabitants upon the earth (those whose names have not been written in the Book of Life from the foundation of the world) shall be amazed upon seeing the beast who was and is not

Other versions

King James Version

The beast that thou sawest was, and is not; and shall ascend out of the bottomless pit, and go into perdition: and they that dwell on the earth shall wonder, whose names were not written in the book of life from the foundation of the world, when they behold the beast that was, and is not, and yet is.

English Standard Version

The beast that you saw was, and is not, and is about to rise from the bottomless pit and go to destruction. And the dwellers on earth whose names have not been written in the book of life from the foundation of the world will marvel to see the beast, because it was and is not and is to come.

New International Version

The beast, which you saw, once was, now is not, and will come up out of the Abyss and go to his destruction. The inhabitants of the earth whose names have not been written in the book of life from the creation of the world will be astonished when they see the beast, because he once was, now is not, and yet will come.