The Ten Commandments were the laws that Hebrews must obey.
EXPLANATION:
The Ten Commandments were the principles to the disciplinary points related to the worship and ethics in Abrahamic religion.
In 'Hebrews bible', it has been stated multiple times. So it is basically the laws that must be obeyed by Hebrews.
The 'Egyptians' had their own God so they didn’t much cared about these commandments. And the thing about polytheists is they do not believe in 'one God'.