I think you're a little confused.

Daniel 9 speaks of two messiahs, not one. Neither is "the" messiah.

The first messiah is Cyrus.

The second messiah could be one of a few candidates, but whichever one you choose (all "anointed ones") they were pretty nasty dudes who all lived within the 490 years and were so bad they were cut off from the Jewish people.

So the second messiah mentioned by Daniel is not "the" messiah. Instead he is a very evil person.

Daniel 9 is not about "the" messiah.

Chaim's point was that at any time we can make teshuvah and turn to G-d. If the Jews of that era had become righteous and done what Daniel begged them to do, the Diaspora would not have happened. The messiah would have come.

We could have prevented it. We didn't.

So now we wait.

And while we wait we try to do our best. The holier Israel is, the faster moshiach ben david will come. It is up to us -- then as now.