Genesis 48:18-22

48:18 Joseph said to his father, “Not so, my father, for this is the firstborn. Put your right hand on his head.”

48:19 But his father refused and said, “I know, my son, I know. He too will become a nation and he too will become great. In spite of this, his younger brother will be even greater and his descendants will become a multitude of nations.” 48:20 So he blessed them that day, saying,

“By you will Israel bless, saying,

‘May God make you like Ephraim and Manasseh.’”

So he put Ephraim before Manasseh.

48:21 Then Israel said to Joseph, “I am about to die, but God will be with you and will bring you back to the land of your fathers. 48:22 As one who is above your brothers, I give to you the mountain slope, which I took from the Amorites with my sword and my bow.”