(KJV) John 13:3
3 Jesus knowing that the Father had given all things into his hands, and that he was come from God, and went to God; 4 He riseth from supper, and laid aside his garments; and took a towel, and girded himself.
(KJV) John 3:21
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.
(KJV) John 3:26
26 Jesus answered, He it is, to whom I shall give a sop, when I have dipped it. And when he had dipped the sop, he gave it to Judas Iscariot, the son of Simon.
(KJV) John 3:38
38 Jesus answered him, Wilt thou lay down thy life for my sake? Verily, verily, I say unto thee, The cock shall not crow, till thou hast denied me thrice.
All the above texts were spoken by the Christ during the Lord Supper as recorded by the Evangelists Matthew,Luke & Mark.
John also records the same words but it seems it was days before the Lord's Supper.
How can we understand the above texts?