Hi, Eugene Hardy. What's going on?
Well, as you know, like many words, there are different shadings of meaning to the word 'pride.' Since you mention 'sin,' one is immediately reminded of the old saying, 'Pride cometh before a fall,' and all that. I suppose, in that context, the 'fall' would be the karmic or godly punishment for the pride -- a synonymous label for which might be something like 'hubris'; then we could restate that saying as: 'Hubris comes before a fall.'
In historical-geopolitical terms, pride-hubris is said to have resulted in many a fall of global hegemonic powers. Pride-hubris is said to have driven these powers to something called 'overreach.' I seem to remember something from Greek mythology about the boy who flew to close to the sun.....
So, we understand that this kind of 'pride' or hubris can cause people to overestimate themselves and their capabilities. Arrogance and self-delusion are characteristics associated with pride-hubris in this context.
Then there's a kind of pride that may (or may not) be more quiet and humble in expression. A father can be proud of his son. But still, one has to be careful even here. This kind of paternal 'pride' can indeed turn 'sinful,' if it drives him (the father) to push his son too hard -- say to succeed in an area of life that had frustrated him (the father); thus the father, in this way, is said to be trying to 'live vicariously through his son.'
As easy example of how quiet, humble paternal pride can metastisize, if you will, into the 'sinful' kind of pride-hubris is something like this: The father, for some reason, was never able to fulfill his personal heart's desire and become a professional surfer. He therefore relentless pushes his son to accomplish what he (the father) had failed to do himself, never mind whether or not the young man is even interested in water sports!
Take it easy.