Revelation chapter 13: 11 to 18 - 'The Beast Out of the Earth'
11 Then I saw another beast, coming out of the earth. He had two horns like a lamb, but he spoke like a dragon.
12 He exercised all the authority of the first beast on his behalf, and made the earth and its inhabitants worship the first beast, whose fatal wound had been healed.
13 And he performed great and miraculous signs, even causing fire to come down from heaven to earth in full view of men.
14 Because of the signs he was given power to do on behalf of the first beast, he deceived the inhabitants of the earth. He ordered them to set up an image in honor of the beast who was wounded by the sword and yet lived.
15 He was given power to give breath to the image of the first beast, so that it could speak and cause all who refused to worship the image to be killed.
16 He also forced everyone, small and great, rich and poor, free and slave, to receive a mark on his right hand or on his forehead,
17 so that no one could buy or sell unless he had the mark, which is the name of the beast or the number of his name.
18 This calls for wisdom. If anyone has insight, let him calculate the number of the beast, for it is man's number. His number is 666.