John 18:32-34 New Matthew Bible (NMB)
32 This was to fulfil the words of Jesus, which he spoke signifying how he would die.
33 Then Pilate entered into the judgment hall again, and called Jesus and said to him, Are you the king of the Jews? 34 Jesus answered, Do you say that of yourself, or did others tell you this about 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?”