None of the others at the table knew what Jesus meant.
Since Judas was their treasurer, some thought Jesus was telling him to go and pay for the food or to give some money to the poor.
So Judas left at once, going out into the night.
As soon as Judas left the room, Jesus said, “The time has come for the Son of Man to enter into his glory, and God will be glorified because of him.
References for John 13:31
And since God receives glory because of the Son, he will give his own glory to the Son, and he will do so at once.
References for John 13:32
Dear children, I will be with you only a little longer. And as I told the Jewish leaders, you will search for me, but you can’t come where I am going.
So now I am giving you a new commandment: Love each other. Just as I have loved you, you should love each other.
Your love for one another will prove to the world that you are my disciples.”
Simon Peter asked, “Lord, where are you going?” And Jesus replied, “You can’t go with me now, but you will follow me later.”
“But why can’t I come now, Lord?” he asked. “I’m ready to die for you.”
Jesus answered, “Die for me? I tell you the truth, Peter—before the rooster crows tomorrow morning, you will deny three times that you even know me.