Context rules.
For reference...
John 13:2 DURING supper, when the devil had already put it into the heart of Judas Iscariot, Simon’s son, to betray him.
Matthew 26:21And AS they were eating, he said, “Truly, I say to you, one of you will betray me.
Luke 222:21 But behold, the hand of him who betrays me is with me ON the table.
John 13:27ff THEN after he had taken the morsel, Satan entered into him (JUDAS). Jesus said to him, “What you are going to do, do QUICKLY.”
28Now no one AT THE table knew why he said this to him.
29Some thought that, because Judas had the moneybag, Jesus was telling him, “Buy what we need for the feast,” or that he should give something to the poor.
30So, AFTER receiving the morsel of bread, he (JUDAS) IMMEDIATELY went out. And it was night.
John 13:3ff Jesus, knowing that the Father had given all things into his hands, and that he had come from God and was going back to God,
4rose FROM (AFTER) supper.(JUDAS IS GONE) He laid aside his outer garments, and taking a towel, tied it around his waist.
5Then he poured water into a basin and began to wash the disciples’ feet
Washing of the disciples feet happened after Jesus LEFT THE TABLE and after He dipped the bread. This is when when Judas ran out. Jesus was at the table when Judas ran out. The foot washing happened after Jesus left (rose from) the table.
The WHOLE counsel of God tells the whole timeline, not narrowly selected verses.
NOWHERE in Scripture does Jesus wash the feet of sinners.
Submitted respectfully as correction to false teaching.