Daniel 9:26-27

26 “After this period of sixty-two sets of seven, the Anointed One will be killed, appearing to have accomplished nothing, and a ruler will arise whose armies will destroy the city and the Temple. The end will come with a flood, and war and its miseries are decreed from that time to the very end.
27 The ruler will make a treaty with the people for a period of one set of seven, but after half this time, he will put an end to the sacrifices and offerings. And as a climax to all his terrible deeds, he will set up a sacrilegious object that causes desecration, until the fate decreed for this defiler is finally poured out on him.”