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.
Jeremiah 50:35-37
35
A sword is upon the Chaldeans, saith the LORD, and upon the inhabitants of Babylon, and upon her princes, and upon her wise men.
36
A sword is upon the liars; and they shall dote: a sword is upon her mighty men; and they shall be dismayed.
37
A sword is upon their horses, and upon their chariots, and upon all the mingled people that are in the midst of her; and they shall become as women: a sword is upon her treasures; and they shall be robbed.