After their captivity in Babylon, a remnant of Judah returned to Jerusalem to rebuild the Temple and the wall, under the supervision of Ezra and Nehemiah. Ezra recorded that the Temple edifice was completed in the sixth year of the reign of Darius the Persian, in Ezr 6:15. However, the previous verse said that the Temple construction extended into the reign of the succeeding king, the second Artaxerxes (Ezr 6:14). There appears to be a contradiction until we understand that the Wall of Jerusalem is part of the Temple. It was during the reign of the second Artaxerxes that the wall was finished and the Temple was considered complete (Neh 6:15).
The length of time from preparing the foundation of the Temple (Hag 1:14-15; Ezr 3) until the wall of the City was completed (Neh 6:15) was 46 years (Joh 2:20).
The wall of Jerusalem is an integral part of the Temple:
1Kin 3:1 And Solomon made affinity with Pharaoh King of Egypt, and took Pharaoh's daughter, and brought her into the city of David, until he had made an end of building his Palace, and the House of YHVH and the Wall of Jerusalem round about the city.
Psalm 51:18-19 Do good in thy good pleasure unto Zion; build thou the Walls of Jerusalem, then shalt thou be pleased with a slaughter of righteousness, with burnt offering and whole burnt offering; then shall they offer bullocks upon thine altar.
Mic 3:12 Therefore shall Mount Zion for your sake be plowed as a field (even Jerusalem shall become heaps), and the Mountain of the Temple (the Ophel) shall be as funeral mounds in the forest.
The 7 mountains that make up the region of Moriah are: Nob, Mount of Olives, Mount of Offense, the Rock, the Southwestern Hill, the Southeastern Hill or Mount Zion, and the Ophel, 2Chr 27:3; Gen 22:2; Rev 17:9; Psa 125:2.
Lam 2:7-8 Adonai hath cast off his altar, he hath abhorred his Sanctuary, he hath given up into the hand of the enemy the Walls of her Citadels, that is they have made a noise in the Temple of YHVH, as in the day of a solemn feast. YHVH hath purposed to destroy the Wall of the daughter of Zion; he hath stretched out a line; he hath not withdrawn his hand from destroying; therefore he made the rampart and the wall to lament; they languished together.
Dan 9:25-26a Know and understand this: from the issuing of the decree to restore and rebuild Jerusalem until Messiah the Leader (Isa 55:3-4) will be 7 weeks and 62 weeks. During the 7 weeks, Jerusalem will be rebuilt, with a Place and a mound of roughly hewn stones for a Wall (Deu 12:5; Ezr 6:12-15), but in difficult times. Then, after the 62 weeks, the Messiah will be cut off and will have nothing for himself. The people of the coming leader will make into ruins: the City, the Wall, and the Place.
Keep in mind that the legions that destroyed Jerusalem were Roman citizens, but not necessarily Italian; see Act 22:25-28. The Roman legion, Legio X Fretensis was made up of units from Thrace and the Seleucid territories. The "coming leader" arises out of these territories, namely the former Greek Empire. He will not operate within a so called one-planet government or from a revived Roman Empire, but within a confederated Middle East, Dan 8:5,8-11).
Dan 9:26b-27 The end will come with a flood, that is, until the end there will be war; desolations are decreed. He will make succeed a covenant with many nations (Psa 83) for one week. In the middle of the week he will put a stop to slaughtered animals and meal-offerings. The abomination of desolation will be upon a wing of the actual temple site until the decreed destruction is poured out on the desolator.
Luke 19:41-44 And when Yeshua was come near, he beheld the city, and wept over it, saying, if you Jerusalem had known, at least in this day, the things which belong to Jerusalem’s Shalom! But now Shalom is hid from Jerusalem’s eyes because the days shall come upon Jerusalem, that Jerusalem’s enemies shall cast a trench about Jerusalem, and compass Jerusalem round, and keep Jerusalem in on every side, and shall raze Jerusalem, and Jerusalem’s children within; and they shall not leave in Jerusalem one stone upon another. Instead, Jerusalem was unaware of this opportunity, when it was offered.
Mat 24:1-2 And Yeshua went out, and departed from the Temple. And his students came to him for to show him the buildings of the Temple. And Yeshua said unto them, see ye not all these? Verily I say unto you, there shall not be left here one stone upon another that shall not be thrown down.