Revelation 17:8-14 AMP

8 The beast that you saw [once] was, but [now] is no more, and he is going to come up out of the Abyss (the bottomless pit) and proceed to go to perdition. And the inhabitants of the earth whose names have not been recorded in the Book of Life from the foundation of the world will be astonished when they look at the beast, because he [once] was, but [now] is no more, and he is [yet] to come. [Dan. 7:3.]

9 This calls for a mind [to consider that is packed] with wisdom and intelligence [it is something for a particular mode of thinking and judging of thoughts, feelings, and purposes]. The seven heads are seven hills upon which the woman is sitting;

10 And they are also seven kings, five of whom have fallen, one still exists [and is reigning]; the other [the seventh] has not yet appeared, and when he does arrive, he must stay [but] a brief time.

11 And as for the beast that [once] was, but now is no more, he [himself] is an eighth ruler (king, head), but he is of the seven and belongs to them, and he goes to perdition.

12 Also the ten horns that you observed are ten rulers (kings) who have as yet received no royal dominion, but together they are to receive power and authority as rulers for a single hour, along with the beast. [Dan. 7:20-24.]

13 These have one common policy (opinion, purpose), and they deliver their power and authority to the beast.

14 They will wage war against the Lamb, and the Lamb will triumph over them; for He is Lord of lords and King of kings–and those with Him and on His side are chosen and called [elected] and loyal and faithful followers. [Dan. 2:47.]