Genesis 28:10-28:22
Jacob left Beer-sheba, and set out for Haran. He came upon a certain place and stopped there for the night, for the sun had set. Taking one of the stones of that place, he put it under his head and lay down in that place. He had a dream; a stairway was set on the ground and its top reached to the sky, and angels of God were going up and down on it.
And the Lord was standing beside him and He said, "I am the Lord, the God of your father Abraham and the God of Isaac: the ground on which you are lying I will assign to you and to your offspring. Your descendants shall be as the dust of the earth; you shall spread out to the west and to the east, to the north and to the south. All the families of the earth shall bless themselves by you and your descendants. Remember, 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 have promised you." Jacob awoke from his sleep and said, "Surely the Lord is present in this place, and I did not know it!" Shaken, he said, "How awesome is this place! This is none other than the abode of God, and that is the gateway to heaven." Early in the morning, Jacob took the stone that he had put under his head and set it up as a pillar and poured oil on the top of it. He named that site Bethel; but previously the name of the city had been Luz.
Jacob then made a vow, saying, "If God remains with me, if He protects me on this journey that I am making, and gives me bread to eat and clothing to wear, and if I return safe to my father's house--the Lord shall be my God. And this stone, which I have set up as a pillar, shall be God's abode; and of all that You give me, I will set aside a tithe for You."