I think this verse illustrates very well just how "in control" Jesus really was.
Jesus KNEW that He was going to be arrested.
Jesus KNEW that Judas was going to betray Him.
Jesus KNEW that Judas knew where to find Him.
But He went anyway.

Jesus says elsewhere: "No one takes my life from me. I lay it down of my own accord."

Jesus is God. He is supreme. He is sovereign.

John 18:2