Jacob/Israel is embalmed, and “forty days were required for it, for so many are required for embalming” (Gen. 50:3). This is consistent with my own impression, and a quick Google search bears it out.
Joseph asks permission from Pharaoh to bury his father in Machpelah, and this is granted. So Joseph heads out to Canaan along with “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 fathers’ household; only their children, their flocks, and their herds were left in the land of Goshen” (Gen. 50:8-7).
This, by the way, would be a huge procession. If the medieval British monarchy is any indication, the ecological impact of this procession would be huge – not to mention the effects on the people who live in the communities the procession passes through. I also can’t help but to wonder what Pharaoh did while all his servants were off at this long distance funeral. Did he cook his own meals? Did he cart away his own gong?
At this point, my study bible mentions that there is an alternative tradition that has Jacob/Israel hew out a “tomb for himself east of the Jordan,” and that he was buried here instead of Machpelah. “This explains why the funeral cortege detoured to Trans-jordan, though a main road led from Egypt along the coast to Beer-sheba.”
Joseph buries his father and then the procession returns to Egypt.
Now that Jacob/Israel is dead, the brothers start to get a bit nervous. I suppose they think that Joseph was being nice to avoid upsetting dad, but that now he has no reason not to “pay us back for all the evil which we did to him” (Gen. 50:15).
So they send a message to Joseph saying, “your father gave this command before he died, ‘Say to Joseph, Forgive, I pray you, the transgression of your brothers and their sin, because they did evil to you.’ And now, we pray you, forgive the transgression of the servants of the God of your father.” (Gen. 50:16-17).
Even if true, it’s a pretty nasty thing to do. The guy’s just lost his dad and the brothers are getting straight to business. If false (which it may well be, since there’s no indication that Jacob/Israel even knew what his sons did, let alone said anything about it), it’s even worse. On the other hand, Joseph could potentially press all of their children into slavery as revenge, so this is a far cry from the sort of family spat we’re accustomed to today.
Joseph reasserts that the brothers didn’t do anything but slavishly follow God’s plan – which is a horrible way to look at it, by the way. Should we open our jailhouse doors, because they didn’t do anything that wasn’t part of God’s plan? But in this case, the belief allows Joseph to forgive his brothers and he vows to protect them and their children.
Joseph lived to be 110, and to see his son Ephraim’s children of the third generation. We’re also told that Manasseh had a son, Machir.
When he lies dying, Joseph reminds his brothers that God will visit them and bring them out of Egypt, giving them the land that was originally promised to Abraham, then to Isaac, and then to Jacob/Israel.
With his final breath, Joseph “took an oath of the sons of Israel,” which I interpret to mean the people Israel, not Jacob specifically. The oath goes: “God will visit you, and you shall carry up my bones from here” (Gen. 50:25). And with that, Joseph dies, is embalmed, and is put into a coffin in Egypt.
And with that we reach the end of Genesis!