I am the Lord thy God
This verse does not contain the first of these commands, but is a preface to them, showing that God had a right to enact and enjoin the people of Israel laws; and that they were under obligation to attend unto them with reverence, and cheerfully obey them, since he was the Lord, the eternal and immutable Jehovah, the Being of beings, who gives being to all creatures, and gave them theirs, and therefore had a right to give them what laws he pleased; and he was their God, their covenant God, in a special and peculiar manner, their King and their God, they being a Theocracy, and so more immediately under his government, and therefore had laws given them preferable to what any other people had:
which have brought thee out of the land of
where they had been afflicted many years, and reduced to great distress, but were brought forth with an high hand, and with great riches, and in a very wonderful and miraculous manner; so that they were under great obligations to yield a ready and cheerful obedience to the will of God:
out of the house of bondage:
or "servants" F2; that is, where they had been servants and slaves, but now were made free, and were become a body politic, a kingdom of themselves, under their Lord, King, Lawgiver, and Saviour, Jehovah himself, and therefore to be governed by laws of his enacting; and this shows that this body of laws was delivered out to the people of Israel, and primarily belong to them; for of no other can the above things be said.