.....
HaShev
Written to encourage Jews undergoing persecution at the hands of Antiochus Epiphanes, the Seleucid king of Syria, the visions of chapters 7–12 predict the end of the earthly Seleucid kingdom, its replacement by the eternal kingdom of God, the resurrection of the dead, and the final judgement.
Which brings up the mistakes in how they interpreted Dan9.
The events Daniel is prophecizing already occured before Jesus and the events of the temple people propose occured after Jesus making the correlation impossible even if they avoided history and thought it didn’t occur yet.
Daniel is talking about "an anointed place" and an anointed (King) not THE ANOINTED ONE.
Now to review why these events already occured:
Dan 9: There is a 7-week (49-year) span between the actual destruction of Jerusalem in 586 (beginning the exile and realizing the decree in 538bc to rebuild), and the end of the exile brought about by the arrival of ‘AN’ anointed one not “THE” anointed one . Kings and High Priests were anointed as AN anointed one but not THE anointed one. Thus we must notice the wording is “an anointed one” not “THE” anointed one.
Dan 9:24 says anoint the holy place not an anointed man. Daniel 9:25 says, "from the time the decree to restore and rebuild Jerusalem was issued, until AN annointed one, a ruler, it will be seven weeks". If the decree is indeed sometime around the beginning of the full Exile, 586 b.c.e., then who is the anointed one mentioned? And, GOD already has referred to ruler Cyrus as his Anointed in
Isaiah 45:1: 70 years after the destruction Cyrus rebuilt the Temple in other words it's completion in 516BC
Here's the reference of this ‘70 years’ by the Historian Josephus in Antiquities 11.1.1: Ant. 11.1.1 "In the first year of the reign of Cyrus, which was the seventieth from the day that our people were removed out of their own land into Babylon, God commiserated the captivity and calamity of these poor people, according as he had foretold to them by Jeremiah the prophet, before the destruction of the city, that after they has served Nebuchadnezzar and his posterity, and after they had undergone that SERVITUDE seventy years, he would restore them again to the land of their fathers, and they should build their temple, and enjoy their ancient prosperity; and these things God did afford them."
Daniel 9:26
And after the sixty-two weeks,an anointed one will be cut off,
and there will be nothing to him.
and "the people of a ruler who shall come shall destroy the city and the sanctuary,"
and the end of it/him shall be with a flood,,
and, until the end of the war, desolations are decreed.
62 weeks (434 years) leads us to around 152 b.c.e. the time of that Antiochus desolation and destruction of the temple. The anointed one was the king who was cut off. High Priest Onias III, who was assasinated (cut off) in 171 b.c.e. In 168 b.c.e., the middle of the next "week" of years (171-165 b.c.e.), ruler Antiochus IV (who had Onias killed) pillaged Jerusalem. Antiochus IV matches the "ruler to come" as you said.