The agreement that God made with Israel warned the people.
It said that the people must obey God.