Now Jacob desired to bless the sons of Joseph, but the holy spirit made him to see Jeroboam, the descendant of Ephraim, and Jehu, the descendant of Manasseh, how they would seduce Israel to idolatry, and the Shekinah forsook him as he was about to lay his hands upon the heads of his grandsons. He said to Joseph, "Is it possible that thou didst not marry the mother of thy children according to the law?" Joseph thereupon brought his wife Asenath to his father, and pointing to her marriage contract, he said, "This one is my wife, whom I married as is proper, with a marriage contract and due ceremony. I pray thee, my father, bless my sons if only for the sake of this pious woman."
Ephraim's Transgression
Legends of the Jews 1:379