"God opposes the proud--even when they are right."
Would that we all could keep that in mind!
In connection with this, I went back and read Thomas' treatment of "Pride" (ST IaIIae, q. 84, a. 2):
...(Sirach 10:15): "Pride is the beginning of all sin." For it is evident that he is speaking of pride as denoting inordinate desire to excel, as is clear from what follows (verse 17): "God hath overturned the thrones of proud princes"; indeed this is the point of nearly the whole chapter. We must therefore say that pride, even as denoting a special sin, is the beginning of every sin. For we must take note that, in voluntary actions, such as sins, there is a twofold order, of intention, and of execution. In the former order, the principle is the end, as we have stated many times before (1, 1, ad 1; 18, 7, ad 2; 15, 1, ad 2; 25, 2). Now man's end in acquiring all temporal goods is that, through their means, he may have some perfection and excellence. Therefore, from this point of view, pride, which is the desire to excel, is said to be the "beginning" of every sin. On the other hand, in the order of execution, the first place belongs to that which by furnishing the opportunity of fulfilling all desires of sin, has the character of a root, and such are riches; so that, from this point of view, covetousness is said to be the "root" of all evils, as stated above (1).