Once Joseph dreamed a dream, and he could not refrain from telling it to his brethren. He spoke, and said: "Hear, I pray you, this dream which I have dreamed. Behold, you gathered fruit, and so did I. Your fruit rotted, but mine remained sound. Your seed will set up dumb images of idols, but they will vanish at the appearance of my descendant, the Messiah of Joseph. You will keep the truth as to my fate from the knowledge of my father, but I will stand fast as a reward for the self-denial of my mother, and you will prostrate yourselves five times before me."
Joseph Dreamed His Brothers' Sheaves Bowed Before His
Legends of the Jews 1:10