They said they would do what God spoke (Exodus 19:8)

At Mt. Sinai God explained to Moses what his provision and expectations would be. Moses repeated them to Israel and "all the people answered together and said, 'All that the Lord has spoken we will do!'" (Ex 19:8). "Then God spoke all these words" (20:1) which began with the Ten Commandments. Next, God met with them at Mt. Sinai and "all the people perceived the thunder and the lightning flashes and the sound of the trumpet and the mountain smoking . . . [and] then they said to Moses, 'Speak to us yourself and we will listen; but let not God speak to us, or we will die.'" (20:18-19). "Then the Lord said to Moses, 'Thus you shall say to the sons of Israel, you yourselves have seen that I have spoken to you from heaven'" (:22). Then God proceeded to provide the details of his requirements to Moses saying, "'Now these are the ordinances which you are to set before them'" (21:1).

To make their journey through the wilderness successful God said, "'I am going to send an angel before you to guard you along the way and to bring you into the place which I have prepared'" (23:20). Since it was a covenant, God commanded, "'You shall not make other gods besides Me; gods of silver or gods of gold, you shall not make for yourselves'" (20:23). "'Be on your guard; and do not mention the name of other gods, nor let them be heard from your mouth'" (23:13). "'You shall not worship their gods, nor serve them, nor do according to their deeds'" (:24). "'They shall not live in your land, because they will make you sin against Me'" (:33). Many years later "they made Him jealous with strange gods; with abominations they provoked Him to anger. They sacrified to demons who were not God, to gods whom they have not known" (Dt 32:16-17). "The things which the Gentiles sacrifice, they sacrifice to demons and not to God; and I do not want you to become sharers with demons" (1Co 10:20). "You cannot drink the cup of the Lord and the cup of demons" (:21).