In Exodus 20:1-17 and in Deuteronomy 5:6-21 we read about the 10 Commandments. The major difference between both passages is in the following two excerpts
- Exodus 20:8-11
8 “Remember the Sabbath day, to keep it holy. 9 For six days you shall labor and do all your work, 10 but the seventh day is a Sabbath of the Lord your God; on it you shall not do any work, you, or your son, or your daughter, your male slave or your female slave, or your cattle, or your resident who stays with you. 11 For in six days the Lord made the heavens and the earth, the sea and everything that is in them, and He rested on the seventh day; for that reason the Lord blessed the Sabbath day and made it holy.
- Deuteronomy 5:12-15
12 ‘Keep the Sabbath day to treat it as holy, as the Lord your God commanded you. 13 For six days you shall labor and do all your work, 14 but the seventh day is a Sabbath of the Lord your God; you shall not do any work that day, you or your son or your daughter, or your male slave or your female slave, or your ox, your donkey, or any of your cattle, or your resident who stays with you, so that your male slave and your female slave may rest as well as you. 15 And you shall remember that you were a slave in the land of Egypt, and the Lord your God brought you out of there by a mighty hand and an outstretched arm; therefore the Lord your God commanded you to celebrate the Sabbath day.
In particular, in Exodus the justification is related with how Lord made everything and in Deuteronomy how the israelites were slaves in Egypt.
What can we extract from that difference?