Parallel
John 18:32
Nestle 1904 Greek New Testament · Berean Standard Bible
ἵνα ὁ λόγος τοῦ Ἰησοῦ πληρωθῇ ὃν εἶπεν σημαίνων ποίῳ θανάτῳ ἤμελλεν ἀποθνήσκειν
This was to fulfill the word that Jesus had spoken to indicate the kind of death He was going to die (note: See John 12:32–33.).