We have the preamble, and the historical background to the covenant in God's summary introduction to the people in Exodus 20: "I am Yahweh who brought you out of the land of Egypt."