Genesis 46:2-7

46:2 God spoke to Israel in a vision during the night and said, “Jacob, Jacob!” He replied, “Here I am!” 46:3 He said, “I am God, the God of your father. Do not be afraid to go down to Egypt, for I will make you into a great nation there. 46:4 I will go down with you to Egypt and I myself will certainly bring you back from there. Joseph will close your eyes.”

46:5 Then Jacob started out from Beer Sheba, and the sons of Israel carried their father Jacob, their little children, and their wives in the wagons that Pharaoh had sent along to transport him. 46:6 Jacob and all his descendants took their livestock and the possessions they had acquired in the land of Canaan, and they went to Egypt. 46:7 He brought with him to Egypt his sons and grandsons, his daughters and granddaughters – all his descendants.