20:10-26. The history of Israel in the wilderness is referred to in the new Testament as well as in the Old, for warning. God did great things for them. He gave them the law, and revived the ancient keeping of the sabbath day. Sabbaths are privileges; they are signs of our being his people. If we do the duty of the day, we shall find, to our comfort, it is the Lord that makes us holy, that is, truly happy, here; and prepares us to be happy, that is, perfectly holy, hereafter. The Israelites rebelled, and were left to the judgments they brought upon themselves. God sometimes makes sin to be its own punishment, yet he is not the Author of sin: there needs no more to make men miserable, than to give them up to their own evil desires and passions.
I am the Lord your God,.... Not only that had made them and preserved them, but had chose them above all people to be his people; who had made a covenant with them, and had distinguished them by his favours from all others:
walk in my statutes, and keep my judgments, and do them; which he had given unto their fathers, and they had neglected and despised; those contained in the decalogue, and in the whole book of Deuteronomy, and elsewhere,