Exodus 19:4–6 (NKJV)
4 ‘You have seen what I did to the Egyptians, and how I bore you on eagles’ wings and brought you to Myself. 5 Now therefore, if you will indeed obey My voice and keep My covenant, then you shall be a special treasure to Me above all people; for all the earth is Mine. 6 And you shall be to Me a kingdom of priests and a holy nation.’ These are the words which you shall speak to the children of Israel.”
Frame comments - "Notice here that the covenant begins with the grace of God, his sovereign work in delivering Israel from Egypt and bringing her to himself." - ST, p72.
Which is also how the Ten Commandments begins. All Grace. "I am the Lord your God, who brought you out of the land of Egypt, out of the house of bondage."
Gracious God. From first to last.