Daniel 11:27
11:27 These two kings, their minds filled with evil intentions, will trade lies with one another at the same table. But it will not succeed, for there is still an end at the appointed time.
Daniel 11:35-36
11:35 Even some of the wise will stumble, resulting in their refinement, purification, and cleansing until the time of the end, for it is still for the appointed time.
11:36 “Then the king will do as he pleases. He will exalt and magnify himself above every deity and he will utter presumptuous things against the God of gods. He will succeed until the time of wrath is completed, for what has been decreed must occur.