Deuteronomy 5:12–15

Israel rests remembering it was once a slave in Egypt

12Keep the day of the Sabbath to make it holy, as YHWH your Elohim has commanded you.

13Six days you shall work and do all your work,

14but the seventh day is a Sabbath to YHWH your Elohim. You shall not do any work, you, or your son, or your daughter, or your male slave, or your female slave, or your ox, or your donkey, or any of your livestock, or your resident alien who is within your gates, so that your male slave and your female slave may rest like you.

15Remember that you were a slave in the land of Egypt, and that YHWH your Elohim brought you out from there with a strong hand and with an outstretched arm; therefore YHWH your Elohim has commanded you to celebrate the day of the Sabbath.

Study it word by word

In its context

10but showing loyal love to thousands, to those who love me and keep my commandments.

11You shall not take the name of YHWH your Elohim in vain, for YHWH will not leave unpunished the one who takes his name in vain.

…

16Honor your father and your mother, as YHWH your Elohim has commanded you, so that your days may be long and so that it may go well with you on the land that YHWH your Elohim is giving you.

17You shall not murder.

Read all of Deuteronomy 5

Its words in the original

Work and Rest