According to Josephus, 1st century A.D. writer, Alexander had a dream, went to Jerusalem with an awareness of God, and then had the book of Daniel presented to him. He saw himself as the fulfillment of prophecy from 2 centuries before.
Antiquities” xi. 8, §§ 4-6,
Alexander went to Jerusalem after having taken Gaza. Jaddua, the high priest, had a warning from God received in a dream, in which he saw himself vested in a purple robe, with his miter—that had the golden plate on which the name of God was engraved—on his head. Accordingly he went to meet Alexander at Sapha (“View” [of the Temple]). Followed by the priests, all clothed in fine linen, and by a multitude of citizens, Jaddua awaited the coming of the king. When Alexander saw the high priest, he reverenced God (Lev. R. xiii., end), and saluted Jaddua; while the Jews with one voice greeted Alexander. When Parmenio, the general, gave expression to the army’s surprise at Alexander’s extraordinary act—that one who ought to be adored by all as king should adore the high priest of the Jews—Alexander replied: “I did not adore him, but the God who hath honored him with this high-priesthood; for I saw this very person in a dream, in this very habit, when I was at Dios in Macedonia, who, when I was
considering with myself how I might obtain dominion of Asia, exhorted me to make no delay, but boldly to pass over the sea, promising that he would conduct my army, and would give me the dominion over the Persians.” Alexander then gave the high priest his right hand, and went into the Temple and “offered sacrifice to God according to the high priest’s direction,” treating the whole priesthood magnificently. “And when the Book of Daniel was shown him [see Dan. vii. 6, viii. 5-8, 20-22, xi. 3-4], wherein Daniel declared that one of the Greeks should destroy the empire of the Persians, he supposed that he was the person intended, and rejoiced thereat. The following day Alexander asked the people what favors he should grant them; and, at the high priest’s request, he accorded them the right to livein full enjoyment of the laws of their forefathers. He, furthermore, exempted them from the payment of tribute in the seventh year of release.