According to revelation ,the beast that ascendeth out of the bottomless pit shall bring the prostitute to ruin and burn her with fire.At the same time ,they kill the two witnessss of Jesus .
Revelation 17
16 The beast and the ten horns you saw will hate the prostitute. They will bring her to ruin and leave her naked; they will eat her flesh and burn her with fire.
Revelation 11
7 And when they shall have finished their testimony, the beast that ascendeth out of the bottomless pit shall make war against them, and shall overcome them, and kill them.
Now we understand this takes place at the same time because of the great earthquake which hits Jerusalem when the cloud ascends from Jerusalem.
Revelation 11
13 And the same hour was there a great earthquake, and the tenth part of the city fell, and in the earthquake were slain of men seven thousand: and the remnant were affrighted, and gave glory to the God of heaven.
Revelation 16:18-19
And there were voices, and thunders, and lightnings; and there was a great earthquake, such as was not since men were upon the earth, so mighty an earthquake, and so great.
And the great city was divided into three parts, and the cities of the nations fell: and great Babylon came in remembrance before God, to give unto her the cup of the wine of the fierceness of his wrath.
Moreover ,the reason God gives Babylon the cup of the wine of the fierceness of his wrath is because babylon worships the beast that came out of the sea,it's image and receives it mark.
Revelation 14
8 And there followed another angel, saying, Babylon is fallen, is fallen, that great city, because she made all nations drink of the wine of the wrath of her fornication.
9 And the third angel followed them, saying with a loud voice, If any man worship the beast and his image, and receive his mark in his forehead, or in his hand,
10 The same shall drink of the wine of the wrath of God, which is poured out without mixture into the cup of his indignation; and he shall be tormented with fire and brimstone in the presence of the holy angels, and in the presence of the Lamb:
11 And the smoke of their torment ascendeth up for ever and ever: and they have no rest day nor night, who worship the beast and his image, and whosoever receiveth the mark of his name.
So the question is,What are they who come in Jesus name ,doing in Babylon to begin with with?
The answer is,
They come in Jesus name and decieve the people in Jerusalem to receive the mark of the beast.
Jesus spoke of the coming of the two witnesses and their army at the beginning of his Olivet discourse.
Mathew 24
4 And Jesus answered and said unto them, Take heed that no man deceive you.
5 For many shall come in my name, saying, I am Christ; and shall deceive many.
Not everyone who comes in Jesus name speak the truth ,and not everyone who say they are in Christ are .The two prophets in revelation 11 and their army will decieve the people in Israel and they will receive the mark of the beast.That is what the two witnesses who come in Jesus name are doing with the prostitute.