Genesis 50:12-21 ESV
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.
ESV: English Standard Version 2016