God fulfilled this wish of Moses, saying: "Thou hast now requested to be informed concerning thy immediate successor. I shall do more than this, and show thee all the judges and prophets that I will allow to arise for My children from not on to the resurrection of the dead." Then He showed Moses his successor Joshua, his successor's successor, Othniel, and all the other judges and prophets. Then God added these words: "Of all these that I have shown thee, each will have his individual spirit and his individual knowledge, but such a man as thou now wishest for thy successor, whose spirit is to embrace in itself the spirits of sixty myriads of Israel, so that he may speak to each one of them according to his understanding, such a man as this will not arise until the end of time. The Messiah will be inspired with a spirit that in itself will embrace the spirits of all mankind.
Joshua — Moses and the Messiah
Legends of the Jews 6:86