One thing we need to keep in mind is that the Decalogue is an example of communal rule, even though people are wont to universalize these commands. In other parts of the Torah, we also see how Jehovah particularly gave the divine commands to Israel only. I will illustrate the communal nature of the Decalogue by using the Sabbath law:
Remember the sabbath day, to keep it holy. Six days shalt thou labour, and do all thy work: But the seventh day is the sabbath of the LORD thy God: in it thou shalt not do any work, thou, nor thy son, nor thy daughter, thy manservant, nor thy maidservant, nor thy cattle, nor thy stranger that is within thy gates: For in six days the LORD made heaven and earth, the sea, and all that in them is, and rested the seventh day: wherefore the LORD blessed the sabbath day, and hallowed it (Exod 20:8-11).
The LORD spoke to Moses, saying, "But as for you, speak to the sons of Israel, saying, ‘You shall surely observe My sabbaths; for this is a sign between Me and you throughout your generations, that you may know that I am the LORD who sanctifies you. ‘Therefore you are to observe the sabbath, for it is holy to you. Everyone who profanes it shall surely be put to death; for whoever does any work on it, that person shall be cut off from among his people. ‘For six days work may be done, but on the seventh day there is a sabbath of complete rest, holy to the LORD; whoever does any work on the sabbath day shall surely be put to death. ‘So the sons of Israel shall observe the sabbath, to celebrate the sabbath throughout their generations as a perpetual covenant.’ “It is a sign between Me and the sons of Israel forever; for in six days the LORD made heaven and earth, but on the seventh day He ceased from labor, and was refreshed" (Exod 31:12-17 NASB).
'Observe the sabbath day to keep it holy, as the LORD your God commanded you. ‘Six days you shall labor and do all your work, but the seventh day is a sabbath of the LORD your God; in it you shall not do any work, you or your son or your daughter or your male servant or your female servant or your ox or your donkey or any of your cattle or your sojourner who stays with you, so that your male servant and your female servant may rest as well as you. ‘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 by an outstretched arm; therefore the LORD your God commanded you to observe the sabbath day (Deut 5:12-15 NASB).
Declaring His words to Jacob, His statutes and His judgments to Israel. He hath not done so to any nation, As to judgments, they have not known them. Praise ye Jah! (Ps 147:19-20 YLT)
Compare Exod 16.