Passage
[Jesus,] knowing that the Father had given him all things into his hands, and that he came out from God and was going to God,
[Jesus,] knowing that the Father had given him all things into his hands, and that he came out from God and was going to God,
John 13:1 Now before the feast of the passover, Jesus, knowing that his hour had come that he should depart out of this world to the Father, having loved his own who were in the world, loved them to the end.
John 13:2 And during supper, the devil having already put it into the heart of Judas [son] of Simon, Iscariote, that he should deliver him up,
John 13:3 [Jesus,] knowing that the Father had given him all things into his hands, and that he came out from God and was going to God,
John 13:4 rises from supper and lays aside his garments, and having taken a linen towel he girded himself:
John 13:5 then he pours water into the washhand basin, and began to wash the feet of the disciples, and to wipe them with the linen towel with which he was girded.
The verse centers on "all things", "jesus", "knowing", "father", "given", "hands", "came", and "going". It is saying that the verse draws attention to "all things" and "jesus", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 2's "And during supper the devil having already..." into verse 4's "rises from supper and lays aside his...", so "all things" 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 "all things" and "jesus" with trust shaped by these words, not by a vague optimism outside the passage.