This was to fulfill (plērōthē | πληρωθῇ | aor pass subj 3 sg) the word that Jesus had spoken indicating what kind of death he was going to die.
Reference
John 18:32
Sequence
40