Pride could be defined as the attitude of wanting to elevate oneself above others. The reason for doing so is to prevail against others. So it is the same analysis as described here. The real problem is that the motive does not turn off so easily. Over time, the attitude becomes a part of the person, all the time being expressed in various ways which create habits.
Habits are psychologically ingrained patterns which function on a stimulus-response basis.
So the habits of degrading other persons to prevail against them develop over time into all of the reactions and forces which create sin. Jealousy is the feeling of threat from the betterment of others. Bigotry is, most basically, the subconscious assumption that power is virtue and powerlessness is corruption. It stems from the positive reinforcements of power in prevailing against other persons. Hate is a justification mechanism, as evident in its application.