He explains himself, saying: I know how to be abased. Now, abasement sometimes denotes a virtue: "He who humbles himself will be exalted" (Lk. 18:14); and sometimes a low condition: "His feet were hurt with fetters, his neck was put in a collar of iron" (Ps. 105:18). This is what he means when he says, I know how to be abased, i.e., how to endure a lowly condition with equanimity, as is becoming. And because men are exalted by riches and humbled by poverty, there is danger in each of these conditions: because abundance may raise the mind against God, and poverty withdraw it; hence it is stated... in Proverbs (30:8): "Give me neither poverty nor riches." But the Apostle knows how to employ virtue in both; therefore, in any and all circumstances, i.e., in all places, affairs, states and conditions I have learned the secret: "In all things let us conduct ourselves as God's ministers" (2 Cor. 6:4).
Source: Commentary on Philippians