Joseph saw Ephraim's children to the third generation. The children of Machir, the son of Manasseh, were also brought up on Joseph's knees.
Genesis 50:23
Surrounding context
50:22 So Joseph dwelt in Egypt, he and his father's household. And Joseph lived one hundred and ten years.
50:23 Joseph saw Ephraim's children to the third generation. The children of Machir, the son of Manasseh, were also brought up on Joseph's knees.
50:24 And Joseph said to his brethren, "I am dying; but God will surely visit you, and bring you out of this land to the land of which He swore to Abraham, to Isaac, and to Jacob."