In the scriptures there is no such thing as righteous pride. It is always considered as a sin.
Ezra Taft BensonHave you ever asked yourself why one person is honorable and another dishonorable; why one is honest, another dishonest; why one is moral, another immoral? Most individuals do not intend to be dishonest, dishonorable, or immoral. They seem to allow their characters to erode by a series of rationalizations, lies, and compromises. Then when grave temptation presents itself, they haven't the strength of character to do what they know to be right.
Ezra Taft Benson