Ezekiel relates a number of things that are historically fulfilled, yet prophecies such as the valley of dry bones and the Gog Magog war are deemed relevant to the eschatalogical end and the current place of things in today’s history.
We correlate, contrary to some, the Gog Magog war of Revelation 20 to Ezekiel 38-39, and see the temple as a prophetic “restoration of all things”, and not necessarily a literal temple, although one may be built in some manner or other.
Whether God chooses to fulfill the “sanctuary among Israel” through a physical, literal building, the real point of the temple description is depicting the culminating restoration of God’s original plan in His people, through the agency of His church.