Then one of the seven angels who had the seven bowls came and said to me, "Come, I will show you the judgment of the great whore who is seated on many waters,
with whom the kings of the earth have committed fornication, and with the wine of whose fornication the inhabitants of the earth have become drunk."
So he carried me away in the spirit into a wilderness, and I saw a woman sitting on a scarlet beast that was full of blasphemous names, and it had seven heads and ten horns.
References for Revelation 17:3
The woman was clothed in purple and scarlet, and adorned with gold and jewels and pearls, holding in her hand a golden cup full of abominations and the impurities of her fornication;
and on her forehead was written a name, a mystery: "Babylon the great, mother of whores and of earth's abominations."
And I saw that the woman was drunk with the blood of the saints and the blood of the witnesses to Jesus. When I saw her, I was greatly amazed.
But the angel said to me, "Why are you so amazed? I will tell you the mystery of the woman, and of the beast with seven heads and ten horns that carries her.
The beast that you saw was, and is not, and is about to ascend from the bottomless pit and go to destruction. And the inhabitants of the earth, whose names have not been written in the book of life from the foundation of the world, will be amazed when they see the beast, because it was and is not and is to come.
"This calls for a mind that has wisdom: the seven heads are seven mountains on which the woman is seated; also, they are seven kings,
of whom five have fallen, one is living, and the other has not yet come; and when he comes, he must remain only a little while.