Genesis 28:13-15

28:13 and the Lord stood at its top. He said, “I am the Lord, the God of your grandfather Abraham and the God of your father Isaac. I will give you and your descendants the ground you are lying on. 28:14 Your descendants will be like the dust of the earth, and you will spread out to the west, east, north, and south. All the families of the earth will pronounce blessings on one another using your name and that of your descendants. 28:15 I am with you! I will protect you wherever you go and will bring you back to this land. I will not leave you until I have done what I promised you!”

Genesis 46:3-4

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.”