Going to the wilderness and living off the land was a right of passage for ascetic Jews of the time. Josephus wrote about his own experience. Josephus also wrote of:
These were such men as deceived and deluded the people under pretense of Divine inspiration, but were for procuring innovations and changes of the government; and these prevailed with the multitude to act like madmen, and went before them into the wilderness, as pretending that God would there show them the signals of liberty.
But there was an Egyptian false prophet that did the Jews more mischief than the former; for he was a cheat, and pretended to be a prophet also, and got together thirty thousand men that were deluded by him; these he led round about from the wilderness to the mount which was called the Mount of Olives, and was ready to break into Jerusalem by force from that place; and if he could but once conquer the Roman garrison and the people, he intended to domineer over them by the assistance of those guards of his that were to break into the city with him.
Wars of the Jews 2.259-262
This bit of history provides a backdrop to the early Christian adaptation.
These were such men as deceived and deluded the people under pretense of Divine inspiration, but were for procuring innovations and changes of the government; and these prevailed with the multitude to act like madmen, and went before them into the wilderness, as pretending that God would there show them the signals of liberty.
But there was an Egyptian false prophet that did the Jews more mischief than the former; for he was a cheat, and pretended to be a prophet also, and got together thirty thousand men that were deluded by him; these he led round about from the wilderness to the mount which was called the Mount of Olives, and was ready to break into Jerusalem by force from that place; and if he could but once conquer the Roman garrison and the people, he intended to domineer over them by the assistance of those guards of his that were to break into the city with him.
Wars of the Jews 2.259-262
This bit of history provides a backdrop to the early Christian adaptation.