You are missing context.
the ruler, comes, there will be seven ‘sevens,’ and sixty-two ‘sevens.’ It will be rebuilt with streets and a trench, but in times of trouble.
26 After the sixty-two ‘sevens,’ the Anointed One will be put to death and will have nothing.
The first unit of 49 years (seven “sevens”) it took awhile to remove the rubble and build the city.
Then in verse 26 we learn after the 49 the next part starts. 62 sevens using the Jewish custom of a 360-day year, 483 years places us at A.D. 32.
We are now in a time stop or as scripture says God is patiently waiting until a specific number of gentiles come in. Then the next 7 will begin or the tribulation.
27 He will confirm a covenant with many for
one ‘seven.’[
h] In the middle of the ‘seven’[
i] he will put an end to sacrifice and offering. And at the temple[
j] he will set up an abomination that causes desolation, until the end that is decreed is poured out on him.
In the middle of the 7 or 3.5 years, the Antichrist will break the peace treaty and cause desolation. After 3.5 more years Christ will return, destroy the nations against Israel and then a new Jerusalem will be ushered forth.