Ezekiel chapter 40 concerns a vision that Ezekiel had of the new temple. As the footnotes indicate ‘This lengthy vision is concerned with the new temple and how God governs it.’
The vision continues with the return of the LORD to the temple in chapter 43
Ezekiel 43: 1-8 Then he led me to the gate which faces the east, and there I saw the glory of the God of Israel coming from the east. I heard a sound like the roaring of many waters, and the earth shone with His glory. The vision was like that which I had seen when He came to destroy the city, and like that which I had seen by the river Chebar. I fell prone as the glory of the LORD entered the temple by way of the gate which faces the east, but Spirit lifted me up and brought me to the inner court. And I saw that the temple was filled with the glory of the LORD. Then I heard someone speaking to me from the temple, while the man stood beside me. The voice said me: Son of man, this is where My throne shall be, this is where I will set the soles of My Feet; here I will dwell among the Israelites forever. Never again shall they and their kings profane My holy Name with their harlotries and with the corpses of their kings [their high places]. When they placed their threshold against My threshold and their doorpost next to Mine, so that only a wall was between us, they profaned My holy Name by their abominable deeds; therefore I consumed them in My wrath. From now on they shall put far from Me their harlotry and the corpses of their kings, and I will dwell in their midst forever.
the last verse of the book of Ezekiel concerns the name of the Holy City Ezekiel 48: 35 The perimeter of the City is eighteen thousand cubits. The Name of the City shall henceforth be “The LORD is here.”