This can be stated in active form. Alternate translation: "this happened so that Jesus would fulfill what God spoke through the prophet long ago" (See: [[rc://en/ta/man/jit/figs-activepassive]])
There were many prophets. Matthew was speaking of Zechariah. Alternate translation: "the prophet Zechariah" (See: [[rc://en/ta/man/jit/figs-explicit]])