This can be translated in active form. You may need to make explicit whom and what Yahweh had commanded. Alternate translation: "as Yahweh had commanded them to do in the law of Moses" (See: [[rc://en/ta/man/translate/figs-activepassive]] and [[rc://en/ta/man/translate/figs-explicit]])