To amplify on Luke 22:35, 36 Here Jesus is taking them on Memory Lane. Remember when I sent you two by two? Of course they did. Many great things happened on their tour and they were cordially received. Jesus was at the height of His popularity. Now things were different. Jesus was putting a more somber mood in them because they would be subject to persecution and suspicion. The sword symbolized to be “on their guard”. An hour or two later (this very night) Peter would use a sword and Jesus rebuked him.
Matthew 26:52-54 AV:
"Then said Jesus unto him, Put up again thy sword into his place: for all they that take
the sword shall perish with the sword.
Thinkest thou that I cannot now pray to my Father, and he shall presently give me
more than twelve legions of angels?
But how then shall the scriptures be fulfilled, that thus it must be?"
That's a rebuke? He just said to put the sidearm away, not get rid of it. A rebuke would be like this when Peter reprimanded Him for prophesying His crucifixion:
Matthew 16:23-25 AV:
"But he turned, and said unto Peter, Get thee behind me, Satan: thou art an offence unto me:
for thou savourest not the things that be of God, but those that be of men.
Then said Jesus unto his disciples, If any man will come after me, let him deny himself,
and take up his cross, and follow me.
For whosoever will save his life shall lose it: and whosoever will lose his life
for my sake shall find it."
Now, that's a rebuke, and before all Peter's associates.