From there he continued on to a mountain to the east of Bethel and pitched his tent, having Bethel on the west and Ai on the east. There he built an altar to the Lord and called on the name of the Lord.
Moses wrote all the words of the Lord, and rose up early in the morning, and built an altar at the foot of the mountain with twelve pillars for the twelve tribes of Israel.