Jesus already knew what was in the heart of Judas, one of the Twelve.
You see, just before reclining at table with his Lord to eat the Passover, Judas had already gone to the chief priests and taken his infamous thirty pieces of silver, to betray Jesus (Mark 14:10-11; cf. Matt. 26:14-15).
Jesus still welcomed him at table.
Judas dipped in the same bowl Jesus dipped in. Jesus says so (Mark 14:20).
After receiving the blessed and broken bread, Judas heard the words of Jesus, “This is my body.” And then the words of Jesus about the cup, “This is my blood of the covenant, which is poured out for many.”
It was not the same Judas, son of Iscariot. No. According to John 13:2, the devil had already put it in Judas’ heart to betray Jesus.
Yet Jesus loved him; welcomed him at table; and even washed and dryed his otherwise dusty and dirty feet.
The Lord did not prevent Judas from eating the bread and drinking the cup.