Genesis 46:28-34 NIV
Now Jacob sent Judah ahead of him to Joseph to get directions to Goshen. When they arrived in the region of Goshen, Joseph had his chariot made ready and went to Goshen to meet his father Israel. As soon as Joseph appeared before him, he threw his arms around his father and wept for a long time.
Israel said to Joseph, “Now I am ready to die, since I have seen for myself that you are still alive.”
Then Joseph said to his brothers and to his father’s household, “I will go up and speak to Pharaoh and will say to him, ‘My brothers and my father’s household, who were living in the land of Canaan, have come to me. The men are shepherds; they tend livestock, and they have brought along their flocks and herds and everything they own.’ When Pharaoh calls you in and asks, ‘What is your occupation?’ you should answer, ‘Your servants have tended livestock from our boyhood on, just as our fathers did.’ Then you will be allowed to settle in the region of Goshen, for all shepherds are detestable to the Egyptians.”
NIV: New International Version