To remind them of their obligation to obey the covenant that God had made with them.
They promised to remain faithful to God and to follow his laws.