Arcana Coelestia #5043
5043. 'And gave him favour in the eyes of the governor of the prison-house' means consequent support in temptations. This is clear from the meaning of 'giving favour' as support, for 'giving favour' in temptations is bringing comfort and supporting with hope; from the meaning of 'the governor (or the prince)' as primary truth, dealt with in the next paragraph; and from the meaning of 'the prison-house' as the laying waste of falsity, and therefore temptation, dealt with above in 5038, 5039.
Arcana Coelestia #4499
4499. 'Each took his sword' means falsity and evil. This is clear from the meaning of 'a sword' as truth engaged in conflict and consequently the defence of truth, and in the contrary sense falsity engaged in conflict, and consequently the vastation of truth, dealt with in 2799. The reason why 'a sword' at this point also means evil is that Levi was implicated, who represented charity, and so good. When good is turned into evil it uses falsity from evil to fight with, in which case anything it does is evil.