As the people of Israel are gathered at the foot of Mount Sinai, God reveals himself by speaking the Ten Commandments. They are given from the Redeemer to the redeemed to proscribe what their thinking and behavior should be.
Study notes are here.