Deuteronomy 5:15

15 And keep in mind that you were a servant in the land of Egypt, and that the Lord your God took you out of that land by his strong hand and his stretched-out arm: for this reason the Lord has given you orders to keep the Sabbath day.

Deuteronomy 5:15 Meaning and Commentary

Deuteronomy 5:15

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.

Deuteronomy 5:15 In-Context

13 On six days do all your work:
14 But the seventh day is a Sabbath to the Lord your God; on that day do no work, you or your son or your daughter, or your man-servant or your woman-servant, or your ox or your ass or any of your cattle, or the man from a strange country who is living among you; so that your man-servant and your woman-servant may have rest as well as you.
15 And keep in mind that you were a servant in the land of Egypt, and that the Lord your God took you out of that land by his strong hand and his stretched-out arm: for this reason the Lord has given you orders to keep the Sabbath day.
16 Give honour to your father and your mother, as you have been ordered by the Lord your God; so that your life may be long and all may be well for you in the land which the Lord your God is giving you.
17 Do not put anyone to death without cause.