Verse 5

At that time Jacob commanded his sons and household to go to Egypt according to the word of the Lord unto him, and Jacob rose up with his sons and all his household, and he went out from the land of Canaan from Beersheba, with joy and gladness of heart, and they went to the land of Egypt.