Genesis 50:24

24 He said to his brothers, "I am about to die, but God will certainly take care of you and lead you out of this land to the land he solemnly promised to Abraham, Isaac, and Jacob."

Genesis 50:24 In-Context

22 Joseph continued to live in Egypt with his father's family; he was a hundred and ten years old when he died.
23 He lived to see Ephraim's children and grandchildren. He also lived to receive the children of Machir son of Manasseh into the family.
24 He said to his brothers, "I am about to die, but God will certainly take care of you and lead you out of this land to the land he solemnly promised to Abraham, Isaac, and Jacob."
25 Then Joseph asked his people to make a vow. "Promise me," he said, "that when God leads you to that land, you will take my body with you."
26 So Joseph died in Egypt at the age of a hundred and ten. They embalmed his body and put it in a coffin.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.