Luke 22

24 Somehow, the discussion changes from who would betray Jesus to who would be the greatest. The disciples had been chided on several occasions for having such discussions. Yet, we see pride sprouting even at the Last Supper.
25 To have control of, or to wield authority over other people is a worldly pursuit.
26 The disciples, however, were to seek lives of godly servitude for the sake of others.
27 Jesus was obviously the greatest among them, but He was the ultimate servant. He gave up His divine majesty for a time to serve men. He healed bodies and preached the Good News. He would die for the sins of the world. As His followers, we also are to have this attitude of servanthood.

This section took place at about the same time as John 13:1-21. There, Jesus washed the feet of the disciples and then speaks of the betrayer. This verse sounds as though Jesus may have already washed the disciples' feet as an example of servanthood. If this is the case, then it is clear that the disciples had not understood what Jesus had done for them.

28 The disciples were commended for staying with Jesus during this time.
29 They should be assured that they would have high positions in the Kingdom.
30 The most important thing is that they will be in the Kingdom, as will all those who believe in Jesus. However, the disciples will have special positions in specifically judging the people of Israel on Judgement Day (Mat 19:28).
31 Jesus now specifically speaks to Peter. He may have been the most outspoken of being the greatest (or at least the most loyal). Satan appears to ask God to allow him to try to test the lives of believers (Job).
32 Peter would be tested at the garden where Jesus would be arrested. He would fail his self-proclaimed loyalty, but his faith would eventually prove to be stronger than his "cowardice." When he would return, Jesus would give him the difficult task of "feeding the sheep" (John 21:15-17).
35 Jesus had sent the disciples ahead of Him in Luke 10:1-9. This was an easy mission, and Jesus knew that they would not encounter many difficulties. In fact, they would be so well received that they did not have to provide for themselves. Their audience was so receptive that they gladly provided for the disciples' needs.
36 Now, however, the disciples would face a hostile audience. Jesus' popularity would plummet once He was arrested. They were not to expect that the Gospel would be accepted so readily. They would have to prepare to get themselves through the rough times and even defend themselves. The opposition would be so fierce that they would have to give up some things that are important to equip themselves to handle the onslaught.
37 Jesus quotes from Isa 53:12 to remind them that despite His good works, He would be considered a criminal. The disciples did not realize it, but they would see this scripture fulfilled within the next several hours. If Jesus, the only man to live a perfect life and not do any wrong, was to be treated this way, the disciples could expect similar treatment.
38 It is likely that swords were rare among the Jews at that time. Generally, an occupying force will disarm the populace to prevent a rebellion. Considering that Judea was one of the most troubling and unstable parts of the Roman Empire, it is likely that Rome had gone to great lengths to take their weapons. It was probably unusual for "so many" weapons to be present among a group this size. It also gives one cause to wonder why the disciples had swords at this point. Perhaps they already happened to be in the upper room.

Jesus apparently dismisses the comment. Later, He rebukes Peter for using one of the swords (John 18:10-11). It is likely that He said this because the disciples did not understand what He was trying to say. They seemed to think that Jesus would overthrow Rome and become King of Israel at that time. They did not understand that the battle they were to prepare for would be a spiritual one. This is not to say there were not physical hardships ahead, but the disciples were to be ready both physically and spiritually to deal with the hardships of proclaiming the Gospel once Jesus was no longer physically present with them.