And Joseph fell upon his father’s face, and wept upon him, and kissed him. Genesis 50:1
The final chapter begins with the burial of Jacob. As Jacob had requested he wanted to be buried in his homeland of Canaan and not in Egypt. So Joseph honoring his fathers wishes, made all the arrangements to have his fathers body embalmed and then transported to Canaan for burial
It was a very large funeral for 7 days, the mourning and and attendance was so visible , that even the neighboring communities such as the Canaanites took notice to the large funeral.
And when Joseph’s brethren saw that their father was dead, they said, Joseph will peradventure hate us, and will certainly requite us all the evil which we did unto him. Genesis 50:15
After the funeral , Josephs brothers became afraid of him again, believing now that their father was gone, Joseph would seek revenge on them. His brothers even sent a message to Joseph reminding him of the promise he made to their father to forgive them of their wrongdoings.
And Joseph said unto them, Fear not: for am I in the place of God? But as for you, ye thought evil against me; but God meant it unto good, to bring to pass, as it is this day, to save much people alive. Genesis 50:19-20
When Josephs brother came to see him, they all bowed down to worship him. Joseph corrected them as saying “I am not God, why are you worshiping me” Joseph showed great wisdom and understanding when he told them he understood God used their evil against him to bring good for many people.
Again we can see many foreshadows or parallels to Christ, as the evil done to Christ by killing him actually saved us!
And Joseph said unto his brethren, I die: and God will surely visit you, and bring you out of this land unto the land which he sware to Abraham, to Isaac, and to Jacob Genesis 50:24
Joseph was now at the end of his life, however he reminded them about the promise or covenant God made with their fathers. They would be taken out of Egypt and given the Promise Land. Obviously we know this prophecy is fulfilled with the Exodus
The book of Genesis ends with Joseph passing away and being buried in Egypt