He said this to signify the kind of death (thanatō | θανάτῳ | dat sg masc) he was going to die.
Reference
John 12:33
Sequence
26