17:1 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 prostitute who is seated on many waters, 2 with whom the kings of the earth have committed sexual immorality, and with the wine of whose sexual immorality the dwellers on earth have become drunk.” 3 And 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. 4 The woman was arrayed 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 sexual immorality. 5 And on her forehead was written a name of mystery: “Babylon the great, mother of prostitutes and of earth's abominations.” 6 And I saw the woman, drunk with the blood of the saints, the blood of the martyrs of Jesus. 
When I saw her, I marveled greatly. 7 But the angel said to me, “Why do you marvel? I will tell you the mystery of the woman, and of the beast with seven heads and ten horns that carries her. 8 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. 9 This calls for a mind with wisdom: the seven heads are seven mountains on which the woman is seated; 10 they are also seven kings, five of whom have fallen, one is, the other has not yet come, and when he does come he must remain only a little while. 11 As for the beast that was and is not, it is an eighth but it belongs to the seven, and it goes to destruction. 12 And the ten horns that you saw are ten kings who have not yet received royal power, but they are to receive authority as kings for one hour, together with the beast. 13 These are of one mind, and they hand over their power and authority to the beast. 14 They will make war on the Lamb, and the Lamb will conquer them, for he is Lord of lords and King of kings, and those with him are called and chosen and faithful.”
15 And the angel  said to me, “The waters that you saw, where the prostitute is seated, are peoples and multitudes and nations and languages. 16 And the ten horns that you saw, they and the beast will hate the prostitute. They will make her desolate and naked, and devour her flesh and burn her up with fire, 17 for God has put it into their hearts to carry out his purpose by being of one mind and handing over their royal power to the beast, until the words of God are fulfilled. 18 And the woman that you saw is the great city that has dominion over the kings of the earth.”
18:1 After this I saw another angel coming down from heaven, having great authority, and the earth was made bright with his glory. 2 And he called out with a mighty voice,
“Fallen, fallen is Babylon the great!
She has become a dwelling place for demons,
a haunt for every unclean spirit,
a haunt for every unclean bird,
a haunt for every unclean and detestable beast.
3 For all nations have drunk 
the wine of the passion of her sexual immorality,
and the kings of the earth have committed immorality with her,
and the merchants of the earth have grown rich from the power of her luxurious living.”
4 Then I heard another voice from heaven saying,
“Come out of her, my people,
lest you take part in her sins,
lest you share in her plagues;
5 for her sins are heaped high as heaven,
and God has remembered her iniquities.
6 Pay her back as she herself has paid back others,
and repay her double for her deeds;
mix a double portion for her in the cup she mixed.
7 As she glorified herself and lived in luxury,
so give her a like measure of torment and mourning,
since in her heart she says,
‘I sit as a queen,
I am no widow,
and mourning I shall never see.’
8 For this reason her plagues will come in a single day,
death and mourning and famine,
and she will be burned up with fire;
for mighty is the Lord God who has judged her.” (ESV)