Genesis 28:20-22

20 Then Jacob made a vow, saying, "If God will be with me, and will keep me in this way that I go, and will give me bread to eat and clothing to wear,
21 so that I come again to my father's house in peace, then the Lord shall be my God,
22 and this stone, which I have set up for a pillar, shall be God's house; and of all that you give me I will surely give one-tenth to you."