"And all that dwell upon the earth shall worship him whose names are not written in the book of life of the Lamb slain from the foundations of the world."
...................Revelation 13:8
The same is said of the Beast in Revelation 17:8
"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."
And again in Revelation 13:3
"And I saw one of his heads as it were wounded unto death; and his deadly wound was healed; and all the world wondered after the beast."
.............These references shows that the two Beasts are the same.