It doesn't matter whether it's religious pride, spiritual pride, ethnic pride, or racial pride. Every form of pride has its roots in comparison to other people. But holiness only looks to Jesus. Therefore, we can't be proud and be holy. Pride actually becomes a hindrance to the process of holiness.
Pride often is at the root of other sins.
On several occasions, when I have found myself confessing my sins and asking God to search my heart, I discovered at the root of some sin that was plaguing my life was pride. God allowed me to fall in order to show me what was in my heart. Pride is at the heart of evil in this world. Lucifer was cast out of heaven because he became proud. Adam and Eve were cast out of the garden because of pride.