When he had gone out, Jesus said, "Now the Son of Man is glorified, and God is glorified in Him.
References for John 13:31
If God is glorified in Him, God will also glorify Him in Himself and will glorify Him at once.
References for John 13:32
"Children, I am with you a little while longer. You will look for Me, and just as I told the Jews, 'Where I am going you cannot come,' so now I tell you.
"I give you a new commandment: love one another. Just as I have loved you, you must also love one another.
By this all people will know that you are My disciples, if you have love for one another."
"Lord," Simon Peter said to Him, "where are You going?" Jesus answered, "Where I am going you cannot follow Me now, but you will follow later."
References for John 13:36
"Lord," Peter asked, "why can't I follow You now? I will lay down my life for You!"
Jesus replied, "Will you lay down your life for Me? I assure you: A rooster will not crow until you have denied Me three times.