and the King of the North (historically the Assyrian---presumably Syria or Turkey with her allies) will then attack,..
The key to understand these endtimeprophecies is to understand
who is the endtime ASSYRIANS or their leader the ASSYRIAN ?
The ASSYRIAN is the endtime Antichrist.
"O Assyrian, the rod of mine anger, and the staff in their hand is mine indignation..".
The assyrian is God rod against the nation of Israel. He will punish Gods People (Israel) in the endtime.
After the Assyrian has fulfilled Gods plan,he will be punished.
"For through the VOICE OF THE LORD shall the Assyrian be beaten down, which smote with a rod.
The assyrian will be destroyed when Messiah return as also written in 2 Tess.
" And then shall that Wicked (assyrian)be revealed, whom the Lord shall consume with the spirit of his mouth, and shall destroy with the brightness of his coming".
"And this man shall be the peace, when the ASSYRIAN shall come into our land: and when he shall TREAD IN OUR PALACES"
Daniel 11,31 also talks about this assyrian-King of Nord that he will pollute the temple.
"And arms shall stand on his part, and they shall POLLUTE THE SANCTUARY of strength, and shall take away the daily sacrifice, and they shall place the abomination that maketh desolate.
 And such as do wickedly against the covenant "
Its this act Yeshua talks about in Matthew 24 - "the abomination of desolation"
Jacobs trouble or the nation of Israels trouble will come when this assyrian beat them.
"Therefore thus saith the Lord GOD of hosts, O my people that dwellest in Zion, BE NOT AFRAID OF THE ASSYRIAN, he shall smite thee with a rod" Isaiah 10
If you compare the Scripture you will see that thisa assyrian is the exact same person av GOG or the king of Babylon.
"That thou shalt take up this proverb against the king of Babylon, and say, How hath the oppressor ceased! the golden city ceased"
Ninive was the capital of Assyria.
In revelation you have this same picture.
Babylon the great city.
Come down, and sit in the dust, O virgin daughter of Babylon, sit on the ground: there is no throne, O daughter of the Chaldeans: for thou shalt no more be called tender and delicate.
 Take the millstones, and grind meal: uncover thy locks, make bare the leg, uncover the thigh, pass over the rivers.
 Thy nakedness shall be uncovered, yea, thy shame shall be seen....
...And thou saidst, I shall be a lady for ever: so that thou didst not lay these things to thy heart, neither didst remember the latter end of it.
 Therefore hear now this, thou that art given to pleasures, that dwellest carelessly, that sayest in thine heart, I am, and none else beside me;...."
This great nation,the queen will fall because of her adominations.
Babylon the great is fallen, is fallen, and is become the habitation of devils, and the hold of every foul spirit, and a cage of every unclean and hateful bird.
 For all nations have drunk of the wine of the wrath of her fornication, and the kings of the earth have committed fornication with her, and the MERCHANTS OF THE EARTH ARE WAXED RICH through the abundance of her delicacies.
 And I heard another voice from heaven, saying, Come out of her, my people, that ye be not partakers of her sins, and that ye receive not of her plagues.
 For her sins have reached unto heaven, and God hath remembered her iniquities.
 Reward her even as she rewarded you, and double unto her double according to her works: in the cup which she hath filled fill to her double.
 How much she hath glorified herself, and lived deliciously, so much torment and sorrow give her: for she saith in her heart, I SIT AS A QUEEN, and am no widow, and shall see no sorrow.
 Therefore shall her plagues come in one day, death, and mourning, and famine; and she shall be utterly burned with fire: for strong is the Lord God who judgeth her.
 And the kings of the earth, who have committed fornication and lived deliciously with her, shall bewail her, and lament for her, when they shall see the smoke of her burning,"
Before she is destroyed God ask his chosen people to leave this area. If they dont they will have the same experience as in Sodom and Gomorra.
Jeremiah 50 says:
"How is the hammer of the whole earth cut asunder and broken! how is Babylon become a desolation among the nations!
 I have laid a snare for thee, and thou art also taken, O Babylon, and thou wast not aware: thou art found, and also caught, because thou hast striven against the LORD.
 The LORD hath opened his armoury, and hath brought forth the weapons of his indignation: for this is the work of the Lord GOD of hosts in the land of the Chaldeans.
 Come against her from the utmost border, open her storehouses: cast her up as heaps, and destroy her utterly: let nothing of her be left.
 Slay all her bullocks; let them go down to the slaughter: woe unto them! for their day is come, the time of their visitation.
 The voice of them that flee and escape out of the land of Babylon, to declare in Zion the vengeance of the LORD our God, the vengeance of his temple.
 Call together the archers against Babylon: all ye that bend the bow, camp against it round about; let none thereof escape: recompense her according to her work; according to all that she hath done, do unto her.