GenesisChapter 46

So Israel set out with all that he had, and when he came to Beersheba, he offered sacrifices to the God of his father Isaac.
And God spoke to Israel in visions of the night: "Jacob, Jacob!" And he answered, "Here I am."
He said, "I am God, the God of your father. Do not be afraid to go down to Egypt, for there I will make you into a great nation.
I myself will go down with you to Egypt, and I myself will surely bring you up again; and Joseph's hand will close your eyes."
Then Jacob rose up from Beersheba, and the sons of Israel carried their father Jacob, their little ones, and their wives in the wagons Pharaoh had sent to carry him.
They took their livestock and the possessions they had acquired in the land of Canaan, and came to Egypt—Jacob and all his offspring with him:
his sons and his grandsons, his daughters and his granddaughters. All his offspring he brought with him to Egypt.
These are the names of the sons of Israel who came to Egypt, Jacob and his sons: Reuben, Jacob's firstborn;
the sons of Reuben: Hanoch, Pallu, Hezron, and Carmi;
the sons of Simeon: Jemuel, Jamin, Ohad, Jachin, Zohar, and Shaul, the son of a Canaanite woman;
the sons of Judah: Er, Onan, Shelah, Perez, and Zerah—but Er and Onan died in the land of Canaan—and the sons of Perez were Hezron and Hamul;
the sons of Issachar: Tola, Puvah, Iob, and Shimron;
the sons of Zebulun: Sered, Elon, and Jahleel.
These are the sons Leah bore to Jacob in Paddan-aram, along with his daughter Dinah. His sons and daughters numbered thirty-three in all.
The sons of Gad: Ziphion, Haggi, Shuni, Ezbon, Eri, Arodi, and Areli;
the sons of Asher: Imnah, Ishvah, Ishvi, Beriah, and their sister Serah; and the sons of Beriah: Heber and Malchiel.
These are the sons of Zilpah, whom Laban gave to his daughter Leah; she bore these to Jacob—sixteen persons in all.
In the land of Egypt, Manasseh and Ephraim were born to Joseph by Asenath, daughter of Potiphera, priest of On.
The sons of Benjamin: Bela, Becher, Ashbel, Gera, Naaman, Ehi, Rosh, Muppim, Huppim, and Ard.
These are the sons of Rachel who were born to Jacob—fourteen persons in all.
The sons of Dan: Hushim.
The sons of Naphtali: Jahzeel, Guni, Jezer, and Shillem.
These are the sons of Bilhah, whom Laban gave to his daughter Rachel; she bore these to Jacob—seven persons in all.
All the persons belonging to Jacob who came to Egypt, his own direct descendants, not counting the wives of Jacob's sons, numbered sixty-six in all.
With the two sons born to Joseph in Egypt, the persons of Jacob's household who came to Egypt numbered seventy.
Jacob sent Judah ahead of him to Joseph, to get directions to Goshen. And so they came to the land of Goshen.
Joseph had his chariot made ready and went up to Goshen to meet his father Israel. As soon as he appeared before him, he threw his arms around his neck and wept on his neck a long while.
Israel said to Joseph, "Now I can die, since I have seen your face and know that you are still alive."
Then Joseph said to his brothers and to his father's household, "I will go up and tell Pharaoh. I will say to him, 'My brothers and my father's household, who were in the land of Canaan, have come to me.
The men are shepherds, for they have been keepers of livestock, and they have brought their flocks and herds and everything they own.'
So when Pharaoh calls you in and asks, 'What is your occupation?'
you are to answer, 'Your servants have been keepers of livestock from our youth until now, we and our fathers before us.' Then you will be allowed to settle in the land of Goshen, for every shepherd is detestable to the Egyptians."