Two swords among eleven disciples isn't much, especially when Jesus knew they would very quickly desert him, each going their own way (most would be without swords). We need to look at the context, as context is king. Jesus tells us precisely why he wanted his disciples to have swords:
Luk 22:35 And he said to them, “When I sent you out with no moneybag or knapsack or sandals, did you lack anything?” They said, “Nothing.”
Luk 22:36 He said to them, “But now let the one who has a moneybag take it, and likewise a knapsack. And let the one who has no sword sell his cloak and buy one.
Luk 22:37
For I tell you that this Scripture must be fulfilled in me: ‘And he was numbered with the transgressors.’ For what is written about me has its fulfillment.”
Luk 22:38 And they said, “Look, Lord, here are two swords.” And he said to them, “It is enough.” (ESV)
It was so that he would be 'numbered with the transgressors.'
Here are some things to consider from Dr. Michael Brown:
'So much for Jesus calling us to turn the other cheek (Matt 5:38-42). So much for Him saying that it is the meek who will inherit the earth, the peacemakers who will be called children of God, and the ones who were persecuted for righteousness who are blessed (Matt 5:5, 9-12). So much for Him teaching that the world would treat us the same way it treated Him (Matt 10:25; John 15:18-20).
So much for Peter writing that we should follow our Savior's example, noting that "when He was reviled, He did not revile in return; when He suffered, He did not threaten" (1 Pet. 2:23). And so much for Paul explaining that "it was granted on behalf of Christ not only to believe in Him, but also to suffer for His sake" (Phil. 1:29).'
'Using the logic of some of those who believe that being armed is the key to avoiding persecution, why did the apostles merely pray together for boldness to preach and for miracles to be wrought through Jesus' name when they were threatened (Acts 4:24-31)? Why didn't they plot a strategy of fighting back with their swords? Wasn't this what Jesus was telling them to do in Luke 22?'
https://www.charismanews.com/opinion/in-the-line-of-fire/67982-did-jesus-really-tell-his-disciples-to-buy-swords?utm_source=In the Line of Fire&utm_medium=email&utm_content=subscriber_id:803809&utm_campaign=Blogger - Michael Brown - 2017-10-30