Ezekiel 39:9 shows that Israel is disarming and that they are no longer going to fight. 39:10 shows they are going to be a change in power or revenge not by war but by Love. 39:11 This is God’s purpose is to show Himself as holy. He acts according to what is morally right.
God will bring Israel back from the lands to which they were scattered. God will no longer leave any of them among the nations. This is the start of the messianic age. We can look at…
Israel has already been restored when this happens with Gog and Magog:
Ezekiel 37:21 And say unto them, Thus saith the Lord GOD; Behold, I will take the children of Israel from among the heathen, whither they be gone, and will gather them on every side, and bring them into their own land:
Living under Messiah:
Ezekiel 37:24 And David my servant shall be king over them; and they all shall have one shepherd: they shall also walk in my judgments, and observe my statutes, and do them.
So this happens 1000 years after the Second Coming at the end of the Millennium:
Revelation 20:7-9 And when the thousand years are expired, Satan shall be loosed out of his prison, And shall go out to deceive the nations which are in the four quarters of the earth, Gog and Magog, to gather them together to battle: the number of whom is as the sand of the sea. And they went up on the breadth of the earth, and compassed the camp of the saints about, and the beloved city: and fire came down from God out of heaven, and devoured them.
Ezekiel 38:18 And it shall come to pass at the same time when Gog shall come against the land of Israel, saith the Lord GOD, that my fury shall come up in my face.
Ezekiel 38:22 And I will plead against him with pestilence and with blood; and I will rain upon him, and upon his bands, and upon the many people that are with him, an overflowing rain, and great hailstones, fire, and brimstone.
Ezekiel 39:6 And I will send a fire on Magog, and among them that dwell carelessly in the isles: and they shall know that I am the LORD.
So Ezekiel 39:9 refers to enemy weapons:
Ezekiel 38:3-4 And say, Thus saith the Lord GOD; Behold, I am against thee, O Gog, the chief prince of Meshech and Tubal: And I will turn thee back, and put hooks into thy jaws, and I will bring thee forth, and all thine army, horses and horsemen, all of them clothed with all sorts of armour, even a great company with bucklers and shields, all of them handling swords
Ezekiel 39:3 And I will smite thy bow out of thy left hand, and will cause thine arrows to fall out of thy right hand.
Ezekiel 39:9 And they that dwell in the cities of Israel shall go forth, and shall set on fire and burn the weapons, both the shields and the bucklers, the bows and the arrows, and the handstaves, and the spears, and they shall burn them with fire seven years: