31 "His armed forces will rise up to desecrate the temple fortress and will abolish the daily sacrifice. Then they will set up the abomination that causes desolation. 32 With flattery he will corrupt those who have violated the covenant, but the people who know their God will firmly resist him. 33 "Those who are wise will instruct many, though for a time they will fall by the sword or be burned or captured or plundered. 34 When they fall, they will receive a little help, and many who are not sincere will join them. 35 Some of the wise will stumble, so that they may be refined, purified and made spotless until the time of the end, for it will still come at the appointed time. 36 "The king will do as he pleases. He will exalt and magnify himself above every god and will say unheard-of things against the God of gods. He will be successful until the time of wrath is completed, for what has been determined must take place. 37 He will show no regard for the gods of his ancestors or for the one desired by women, nor will he regard any god, but will exalt himself above them all. 38 Instead of them, he will honor a god of fortresses; a god unknown to his ancestors he will honor with gold and silver, with precious stones and costly gifts. 39 He will attack the mightiest fortresses with the help of a foreign god and will greatly honor those who acknowledge him. He will make them rulers over many people and will distribute the land at a price. 40 "At the time of the end the king of the South will engage him in battle, and the king of the North will storm out against him with chariots and cavalry and a great fleet of ships. He will invade many countries and sweep through them like a flood. 41 He will also invade the Beautiful Land. Many countries will fall, but Edom, Moab and the leaders of Ammon will be delivered from his hand. 42 He will extend his power over many countries; Egypt will not escape. 43 He will gain control of the treasures of gold and silver and all the riches of Egypt, with the Libyans and Cushites in submission. 44 But reports from the east and the north will alarm him, and he will set out in a great rage to destroy and annihilate many. 45 He will pitch his royal tents between the seas at the beautiful holy mountain. Yet he will come to his end, and no one will help him.