This was to fulfill the word that Jesus (Iēsou | Ἰησοῦ | gen sg masc) had spoken indicating what kind of death he was going to die.
Reference
John 18:32
Sequence
497