The night Jesus was arrested, before He was arrested, He gave instructions to His disciples.
Jesus reminded them He had sent them out in the past without purse, bag or sandals and they had lacked nothing.
Then He said, “But now, let him who has a purse take it along, likewise also a bag, and let him who has no sword sell his robe and buy one.” Someone says, Lord, here are two swords.” And Jesus says “It is enough.” (Luke 22:35-38).
The same night, they all go to the garden of Gethsemane, and while Jesus is praying they are approached by an armed mob come to arrest Jesus. Peter immediately pulls out one of the swords and takes a swipe at one of them, cutting off his right ear. Jesus then rebukes Peter saying, “Stop, No more of this,” touches the person’s ear and heals him. (Luke 22:47-51; John 18:3,10).