John 11:51-52

John 11:51-52 AMP

Now he did not say this [simply] on his own initiative; but being the high priest that year, he [was unknowingly used by God and] prophesied that Jesus was going to die for the nation, [Is 53:8] and not only for the nation, but also for the purpose of gathering together into one body the children of God who have been scattered abroad. [Is 49:6]

Read John 11