Revelation 20:3

20:3 The angel then threw him into the abyss and locked and sealed it so that he could not deceive the nations until the one thousand years were finished. (After these things he must be released for a brief period of time.)

Revelation 20:8

20:8 and will go out to deceive the nations at the four corners of the earth, Gog and Magog, to bring them together for the battle. They are as numerous as the grains of sand in the sea.