And if a king shall arise from among the House of David, studying Torah and occupied with commandments like his father David, according to the written and oral Torah, and he will impel all of Israel to follow it and to strengthen breaches in its observance, and will fight God's wars, this one is to be treated as if he were the anointed one.
In Judaism, the Messiah is not considered to be God or a pre-existent divine Son of God.
He is considered to be a great political leader that has descended from King David.
The Talmud, which often uses stories to make a moral point (aggadah), tells of a highly respected rabbi who found the Messiah at the gates of Rome and asked him, "When will you finally come?
" He was quite surprised when he was told, "Today." Overjoyed and full of anticipation, the man waited all day.
These kinds of actions are thought to weaken the faith the people have in the religion.
This happened once when Sabbatai Zevi, from Smirna (now İzmir, Turkey), claimed that he was the messiah that the Jewish community have been waiting for.
The next day he returned, disappointed and puzzled, and asked, "You said messiah would come 'today' but he didn't come! " The Messiah replied, "Scripture says, 'Today, if you will but hearken to his voice.'" A Kabbalistic tradition within Judaism is that the commonly discussed messiah who will usher in a period of freedom and peace (Messiah ben David) will be preceded by Messiah ben Joseph, who will gather the children of Israel around him, lead them to Jerusalem.
After overcoming the hostile powers in Jerusalem, Messiah ben Joseph, will reestablish the Temple-worship and set up his own dominion.
So in Judaism, there is no specific time when the messiah comes.
Rather, it is the acts of the people that determines when the messiah comes.
Then Armilus, according to one group of sources, or Gog and Magog, according to the other, will appear with their hosts before Jerusalem, wage war against Messiah ben Joseph, and slay him.