Prior to His crucifixion, Jesus revealed to His disciples the future hostility they would face and encouraged them to sell their outer garments in order to buy a sword 

"But now if you have a purse, take it, and also a bag; and if you don't have a sword, sell your cloak and buy one."   Luke 22:36