And remember that thou wast a servant in the land of Egypt,
&c.] Even a bondservant; for Egypt was an house of bondage, and there the Israelites were made to serve in hard bondage; of which they are reminded, that their hearts might be touched with it, and inclined to show pity to persons in somewhat similar circumstances; calling to mind how sweet a little rest would have been unto them when in Egypt:
and that the Lord thy God brought thee out thence, through a mighty
hand and by a stretched out arm;
signifying that their deliverance from their state of bondage was not owing to themselves, nor to any creature, but to the mercy and kindness of God, and to his almighty power; and therefore they were under the greatest obligations to observe any command and institution of his he should think fit to make; and particularly this of the sabbath, which was made on that account, as follows:
wherefore the Lord thy God commandeth thee to keep the sabbath day;
in commemoration of their rest from Egyptian bondage.