That the saying of Jesus might be fulfilled, which he spake, signifying what death he should die.
This was to fulfill the word that Jesus had spoken to indicate the kind of death He was going to die.
Read John 18