5Then Jacob departed from Beersheba, and the sons of Israel took their father Jacob in the wagons Pharaoh had sent to carry him, along with their children and wives.
6They also took the livestock and possessions they had acquired in the land of Canaan, and Jacob and all his offspring went to Egypt.
7Jacob took with him to Egypt his sons and grandsons, and his daughters and granddaughters — all his offspring.
— Genesis 46:5-7