Genesis 50:15-25

15 When Joseph's brothers saw that their father was dead, they said, "Perhaps Joseph will hate us, and may actually repay us for all the evil which we did to him."
16 So they sent messengers to Joseph, saying, "Before your father died he commanded, saying,
17 'Thus you shall say to Joseph: "I beg you, please forgive the trespass of your brothers and their sin; for they did evil to you." ' Now, please, forgive the trespass of the servants of the God of your father." And Joseph wept when they spoke to him.
18 Then his brothers also went and fell down before his face, and they said, "Behold, we are your servants."
19 Joseph said to them, "Do not be afraid, for am I in the place of God?
20 But as for you, you meant evil against me; but God meant it for good, in order to bring it about as it is this day, to save many people alive.
21 Now therefore, do not be afraid; I will provide for you and your little ones." And he comforted them and spoke kindly to them.
22 So Joseph dwelt in Egypt, he and his father's household. And Joseph lived one hundred and ten years.
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.
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."
25 Then Joseph took an oath from the children of Israel, saying, "God will surely visit you, and you shall carry up my bones from here."