You can translate this in an active form. "Word" here is a metonym for the entire message of God. Alternate translation: "to fulfill the prophecy in their law" and "to fulfill the prophecy in their law" (See: [[rc://en/ta/man/translate/figs-activepassive]] and [[rc://en/ta/man/translate/figs-metonymy]])