Pride is an involuntary reaction to your actions that you perceived as virtuous. Example: if you believe honesty or hard work are virtues (thru your own logic and reasoning and not thru something like dogma) then you will not help but be proud if you are honest or hard working even when tempted to be dishonest and lazy.
When you align the action of your body with the thoughts of your mind then you have feelings about that. You can't hide from yourself. If your actions are misaligned with your thoughts then you can't hide from yourself either. You may be able to fool others but you can't fool yourself.