The pride comes after. When you realize wow yes that was me back there doing that, and he is proud of me for having done it so well. So i am proud of myself.
Pride according to oxford: a deep pleasure or satisfaction gained from achievements, qualities, or possessions.
Only when taken to the extremes of self gratification to the exclusion of others does it approach the hubris end of Aristotles golden mean and become a negative thing.
But that is what niestche complained about with the trans-valuation of values.
Current liberal educational principles seem to want to make us think it is wrong to be proud, so we are ever wary of using the word. So the social conotation of many words has been twisted. The politically correct way must be used instead now. Like saying humanity or personkind as opposed to mankind etc etc the list goes on.
Healthy self esteem is pride wearing politically correct clothes.