Though the OP objections are what I was looking for of the problem, the entirety of the Ezekiel 39 setting is problematic, one of the peripheral objections, but you've much hit a nerve that must belong in the discussion. There seems to be allusion to an ancient captivity, the Babylonian captivity, and then another captivity restoral situation, where, in both instances, the Lord is showing His mercy. It almost seems to me a mini preaching on sin of Israel being the problem, how this led to captivity, but not that Israel was Godless or forsaken, as the heathen were gloating over and thinking. God punishes sin, and gloriously restores the humble in His mercy, and He has also shown the heathen He's not beyond doing this to Israel, is not a respecter of persons. There seems a wide historical context in the whole of the statements, "Now will I bring again the captivity of Jacob..." delving into a repeat captivity allusion, a "two captivity" phenomenon that must delve into a wide swatch of history.
Since, to my relish, you are making things difficult, hurling fiery darts of Revelation at Ezekiel, consider this,
Revelation 21:1-3 And I saw a new heaven and a new earth: for the first heaven and the first earth were passed away; and there was no more sea. And I John saw the holy city, new Jerusalem, coming down from God out of heaven, prepared as a bride adorned for her husband. And I heard a great voice out of heaven saying, Behold, the tabernacle of God is with men, and he will dwell with them, and they shall be his people, and God himself shall be with them, and be their God.
This, we all can agree, is after any Gog and Magog, eternity. It is at this point "God Himself" is with his people, at the end of Ezekiel 39, "Neither will I hide my face any more from them..."
So, here we have another bottom line, finally "God Himself" present, both places in scripture. Then there's the OP, how, if Ezekiel is Armageddon, there's no conceivable way Israel could be characterized in a state of dwelling safely, through the whole of, nor at the close of the Great Tribulation. (We must also remember Armageddon is about the world armies and Antichrist fighting Christ, not God and Magog coveting and coming to take spoil of Israel, as in Ezekiel. Israel would be hugely prosperous at the end of the millennium, no?)
Bottom line, I don't know where everything fits, only those aspects that must be, as in the OP. The Ezekiel temple chapters are also a lot of "fun" to wrap your mind around, if you've never tried that, Ezekiel the most difficult book in the Bible, hands down, in my experience. All the commentaries also wrestle with it and find little agreement, on much.
I have no idea why you'd think anybody would call you stupid?! You're even becoming a pain... but I do love that, struggle with certain issues such as you mention, yet just a born glutton for punishment. LOL!