Genesis 48:12-22

12 Yosef brought them out from between his knees, and he bowed himself with his face to the eretz.
13 Yosef took them both, Efrayim in his right hand toward Yisra'el's left hand, and Menashsheh in his left hand toward Yisra'el's right hand, and brought them near to him.
14 Yisra'el stretched out his right hand, and laid it on Efrayim's head, who was the younger, and his left hand on Menashsheh's head, guiding his hands knowingly, for Menashsheh was the firstborn.
15 He blessed Yosef, and said, "The God before whom my fathers Avraham and Yitzchak did walk, the God who has fed me all my life long to this day,
16 the angel who has redeemed me from all evil, bless the lads, and let my name be named on them, and the name of my fathers Avraham and Yitzchak. Let them grow into a multitude in the midst of the eretz."
17 When Yosef saw that his father laid his right hand on the head of Efrayim, it displeased him. He held up his father's hand, to remove it from Efrayim's head to Menashsheh's head.
18 Yosef said to his father, "Not so, my father; for this is the firstborn; put your right hand on his head."
19 His father refused, and said, "I know, my son, I know. He also will become a people, and he also will be great. However, his younger brother will be greater than he, and his seed will become a multitude of nations."
20 He blessed them that day, saying, "In you will Yisra'el bless, saying, 'God make you as Efrayim and as Menashsheh'" He set Efrayim before Menashsheh.
21 Yisra'el said to Yosef, "Behold, I am dying, but God will be with you, and bring you again to the land of your fathers.
22 Moreover I have given to you one portion above your brothers, which I took out of the hand of the Amori with my sword and with my bow."