He did not say this on his own, but being high priest that year he was prophesying that Jesus (Iēsous | Ἰησοῦς | nom sg masc) was about to die for the nation, Reference John 11:51 Sequence 445