He did not say this on his own, but being high priest that year he prophesied that Jesus was going to die for the nation,