Yahweh had previously made an agreement with their ancestors, commanding them not to worship other gods or bow down to honor them or do other things to please them or offer sacrifices to them.