Daniel 9 and Matthew 24 are referring to two different things. The scriptures our Lord quoted from Daniel are 8:13; 11:31 and 12:11, which we will explain later.
Daniel 9 Interpretation
As with any scripture, the context must be considered, and every piece must fit – similar to putting together a puzzle. Daniel 9:23-27 is a prophecy about the Messiah, his death and the changes to come upon the Jewish nation. Desolation or desolate is mentioned three times. This refers to the desolation Jesus pronounced to the leaders of the nation in Matthew 23:38, “Your house is left unto you desolate.” He prophesied it would come in Luke 21:20, “When you see Jerusalem compassed with armies then know that the desolation thereof is near.”
This was fulfilled in 69-73 AD when the Roman general Titus destroyed the temple and killed thousands leaving the city desolate. Daniel 9:26, “the prince that shall come shall destroy the city and the sanctuary