Passage
When Jesus had thus said, he was troubled in spirit, and testified, and said, Verily, verily, I say unto you, that one of you shall betray me.
When Jesus had thus said, he was troubled in spirit, and testified, and said, Verily, verily, I say unto you, that one of you shall betray me.
John 13:19 Now I tell you before it come, that, when it is come to pass, ye may believe that I am he.
John 13:20 Verily, verily, I say unto you, He that receiveth whomsoever I send receiveth me; and he that receiveth me receiveth him that sent me.
John 13:21 When Jesus had thus said, he was troubled in spirit, and testified, and said, Verily, verily, I say unto you, that one of you shall betray me.
John 13:22 Then the disciples looked one on another, doubting of whom he spake.
John 13:23 Now there was leaning on Jesus’ bosom one of his disciples, whom Jesus loved.
The verse centers on "Spirit", "jesus", "thus", "said", "troubled", "testified", and "verily". It is saying that the verse draws attention to "Spirit" and "jesus", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 20's "Verily verily I say unto you He..." into verse 22's "Then the disciples looked one on another...", so "Spirit" and "jesus" belong inside that flow. In John context, the local focus is the identity of Jesus, new birth, eternal life, and belief and unbelief.
A plain takeaway is to answer the verse's own emphasis on "Spirit" and "jesus" with trust shaped by these words, not by a vague optimism outside the passage.