Gog and Magog were two pagan rulers who allied themselves with Satan in Revelations.
Here, God is striking them down.
Revelations 20:7-9
7) And when the thosand years are completed, Satan will be released from his prison,
8) and will come out to deceive the nations which are in the four coners of the earth, Gog and Magog, to gather them together for war; the number of them is like the sand of the seashore.
9) And they came up on the broad plain of the earth and surrounded the camp of the saints and the beloved city, and fire came down from heaven and devoured them.