In this verse there is a stop in the main story. Here John tells how what was said in verse 31 fulfills Scripture about Jesus. (See: [[rc://en/ta/man/jit/writing-background]])
You can translate this in an active form. Alternate translation: "in order to fulfill what Jesus had said earlier" (See: [[rc://en/ta/man/jit/figs-activepassive]])