Passage
Knowing that the Father had given him all things into his hands and that he came from God and goeth to God,
Knowing that the Father had given him all things into his hands and that he came from God and goeth to God,
John 13:1 Before the festival day of the pasch, Jesus knowing that his hour was come, that he should pass out of this world to the Father: having loved his own who were in the world, he loved them unto the end.
John 13:2 And when supper was done (the devil having now put into the heart of Judas Iscariot, the son of Simon, to betray him),
John 13:3 Knowing that the Father had given him all things into his hands and that he came from God and goeth to God,
John 13:4 He riseth from supper and layeth aside his garments and, having taken a towel, girded himself.
John 13:5 After that, he putteth water into a basin and began to wash the feet of the disciples and to wipe them with the towel wherewith he was girded.
The verse centers on "all things", "knowing", "father", "given", "hands", "came", and "goeth". It is saying that the verse draws attention to "all things" and "knowing", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 2's "And when supper was done the devil..." into verse 4's "He riseth from supper and layeth aside...", so "all things" and "knowing" 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 "knowing" with trust shaped by these words, not by a vague optimism outside the passage.