And he departed thence to the mountain eastward of Bethel, and there he pitched his tent in Bethel near the sea, and Ai toward the east, and there he built an altar to the Lord, and called on the name of the Lord.