“Then Moses went up to God. Yahweh called him from the mountain, saying, ‘this you shall say to the house of Jacob, and tell the Israelites. You have seen what I did to the Egyptians, and how I bore you on eagle’s wings and brought you to myself. Now therefore, if you obey my voice and keep my covenant, you shall be my treasured possession out of all the peoples. Indeed the whole earth is mine, but you shall be for me a priestly kingdom and a holy nation. These are the words that you shall speak to the Israelites.’ So Moses came, summoned the elders of the people, and set before them all these words that Yahweh had commanded him. The people all answered as one, ‘Everything that Yahweh has spoken we will do.’ Moses reported the words of the people to Yahweh.”
Yahweh called Moses to the mountain. He told him to tell the people of Israel that they will be a special priestly kingdom with a covenant. Then Moses then presented these words to the elders and everyone answered that they would do whatever Yahweh wanted. Everything seems to be lining up for the covenant.