Then Joseph fell on his father's face and wept over him and kissed him. And Joseph commanded his servants the physicians to embalm his father. So the physicians embalmed Israel. Forty days were required for it, for that is how many are required for embalming. And the Egyptians wept for him seventy days.
And when the days of weeping for him were past, Joseph spoke to the household of Pharaoh, saying, "If now I have found favor in your eyes, please speak in the ears of Pharaoh, saying, 'My father made me swear, saying, "I am about to die: in my tomb that I hewed out for myself in the land of Canaan, there shall you bury me." Now therefore, let me please go up and bury my father. Then I will return.'" And Pharaoh answered, "Go up, and bury your father, as he made you swear." So Joseph went up to bury his father. With him went up all the servants of Pharaoh, the elders of his household, and all the elders of the land of Egypt, as well as all the household of Joseph, his brothers, and his father's household. Only their children, their flocks, and their herds were left in the land of Goshen. And there went up with him both chariots and horsemen. It was a very great company. When they came to the threshing floor of Atad, which is beyond the Jordan, they lamented there with a very great and grievous lamentation, and he made a mourning for his father seven days. When the inhabitants of the land, the Canaanites, saw the mourning on the threshing floor of Atad, they said, "This is a grievous mourning by the Egyptians." Therefore the place was named Abel-mizraim; it is beyond the Jordan. Thus his sons did for him as he had commanded them, for his sons carried him to the land of Canaan and buried him in the cave of the field at Machpelah, to the east of Mamre, which Abraham bought with the field from Ephron the Hittite to possess as a burying place. After he had buried his father, Joseph returned to Egypt with his brothers and all who had gone up with him to bury his father.
When Joseph's brothers saw that their father was dead, they said, "It may be that Joseph will hate us and pay us back for all the evil that we did to him." So they sent a message to Joseph, saying, "Your father gave this command before he died: 'Say to Joseph, "Please forgive the transgression of your brothers and their sin, because they did evil to you."' And now, please forgive the transgression of the servants of the God of your father." Joseph wept when they spoke to him. His brothers also came and fell down before him and said, "Behold, we are your servants." But Joseph said to them, "Do not fear, for am I in the place of God? As for you, you meant evil against me, but God meant it for good, to bring it about that many people should be kept alive, as they are today. So do not fear; I will provide for you and your little ones." Thus he comforted them and spoke kindly to them.
So Joseph remained in Egypt, he and his father's house. Joseph lived 110 years. And Joseph saw Ephraim's children of the third generation. The children also of Machir the son of Manasseh were counted as Joseph's own. And Joseph said to his brothers, "I am about to die, but God will visit you and bring you up out of this land to the land that he swore to Abraham, to Isaac, and to Jacob." Then Joseph made the sons of Israel swear, saying, "God will surely visit you, and you shall carry up my bones from here."