John 18:32-34 Authorized (King James) Version (AKJV)
32 that the saying of Jesus might be fulfilled, which he spake, signifying what death he should die.
33 Then Pilate entered into the judgment hall again, and called Jesus, and said unto him, Art thou the King of the Jews? 34 Jesus answered him, Sayest thou this thing of thyself, or did others tell it thee of me?
John 18:32-34 New International Version (NIV)
32 This took place to fulfill what Jesus had said about the kind of death he was going to die.
33 Pilate then went back inside the palace, summoned Jesus and asked him, “Are you the king of the Jews?”
34 “Is that your own idea,” Jesus asked, “or did others talk to you about me?”