Yeah a familiar piece of bs, though of course a deity passing on perfect morality might have simply said no sex without explicit consent, and no sex with children, and no sex with prisoners, and don’t have any slaves ever, but to be fair according to the goat herders guide to the galaxy, he needed those first 4 out of 10 commandments to outline the saccharine worship he expected from his new pets.
You can’t expect every little problem explained after all, even a from a deity that has literally limitless knowledge and power.