There were actually three in the past and a fourth will be built.
Solomon's Temple destroyed in 586 BC.
Zerubbabel's Temple / Herod's Temple destroyed in 70 AD.
Tribulation Temple / Millennial Temple.
The tribulation Temple, surprisingly to most, will not be destroyed. Passages thought to indicate it will refer rather to Zerubbabel's /Herod's Temple.
41 As he approached Jerusalem and saw the city, he wept over it
42 and said, “If you, even you, had only known on this day what would bring you peace—but now it is hidden from your eyes.
43 The days will come upon you when your enemies will build an embankment against you and encircle you and hem you in on every side.
44 They will dash you to the ground, you and the children within your walls. They will not leave one stone on another, because you did not recognize the time of God’s coming to you.”
And so on.
The Temple will be cleansed and used during the Millennium as a ceremonial thanksgiving worship center when Edenic conditions are restored to the Earth and people will live to be about a 1000 years old.
20 “Never again will there be in it an infant who lives but a few days, or an old man who does not live out his years; he who dies at a hundred will be thought a mere youth; he who fails to reach a hundred will be considered accursed.
1 This is what Isaiah son of Amoz saw concerning Judah and Jerusalem:
2 In the last days the mountain of the LORD’s temple will be established as chief among the mountains; it will be raised above the hills, and all nations will stream to it.
3 Many peoples will come and say, “Come, let us go up to the mountain of the LORD, to the house of the God of Jacob. He will teach us his ways, so that we may walk in his paths.” The law will go out from Zion, the word of the LORD from Jerusalem.
4 He will judge between the nations and will settle disputes for many peoples. They will beat their swords into plowshares and their spears into pruning hooks. Nation will not take up sword against nation, nor will they train for war anymore.
5 Come, O house of Jacob, let us walk in the light of the LORD.
6 You have abandoned your people, the house of Jacob. They are full of superstitions from the East; they practice divination like the Philistines and clasp hands with pagans.
7 Their land is full of silver and gold; there is no end to their treasures. Their land is full of horses; there is no end to their chariots.
8 Their land is full of idols; they bow down to the work of their hands, to what their fingers have made.
9 So man will be brought low and mankind humbled— do not forgive them.
10 Go into the rocks, hide in the ground from dread of the LORD and the splendor of his majesty!
11 The eyes of the arrogant man will be humbled and the pride of men brought low; the LORD alone will be exalted in that day.
12 The LORD Almighty has a day in store for all the proud and lofty, for all that is exalted (and they will be humbled),
13 for all the cedars of Lebanon, tall and lofty, and all the oaks of Bashan,
14 for all the towering mountains and all the high hills,
15 for every lofty tower and every fortified wall,
16 for every trading ship and every stately vessel.
17 The arrogance of man will be brought low and the pride of men humbled; the LORD alone will be exalted in that day,
18 and the idols will totally disappear.
19 Men will flee to caves in the rocks and to holes in the ground from dread of the LORD and the splendor of his majesty, when he rises to shake the earth.
20 In that day men will throw away to the rodents and bats their idols of silver and idols of gold, which they made to worship.
21 They will flee to caverns in the rocks and to the overhanging crags from dread of the LORD and the splendor of his majesty, when he rises to shake the earth.
22 Stop trusting in man, who has but a breath in his nostrils. Of what account is he?