Genesis 35:1-6 NKJV

1 Then God said to Jacob, "Arise, go up to Bethel and dwell there; and make an altar there to God, who appeared to you when you fled from the face of Esau your brother."
2 And Jacob said to his household and to all who were with him, "Put away the foreign gods that are among you, purify yourselves, and change your garments.
3 Then let us arise and go up to Bethel; and I will make an altar there to God, who answered me in the day of my distress and has been with me in the way which I have gone."
4 So they gave Jacob all the foreign gods which were in their hands, and the earrings which were in their ears; and Jacob hid them under the terebinth tree which was by Shechem.
5 And they journeyed, and the terror of God was upon the cities that were all around them, and they did not pursue the sons of Jacob.
6 So Jacob came to Luz (that is, Bethel), which is in the land of Canaan, he and all the people who were with him.