After the thousand years are over, Satan will be set loose from his prison,
and he will go out to deceive the nations scattered over the whole world, that is, Gog and Magog. Satan will bring them all together for battle, as many as the grains of sand on the seashore. 1
References for Revelation 20:8
20.8 a Ez 7.2; b Ez 38.2, 9, 15.
They spread out over the earth and surrounded the camp of God's people and the city that he loves. But fire came down from heaven and destroyed them.
Then the Devil, who deceived them, was thrown into the lake of fire and sulfur, where the beast and the false prophet had already been thrown; and they will be tormented day and night forever and ever.