The arising of arrogance
The feeling of pride is okay in the sense that it is conditioned so long as you do not act following that feeling.

That you are able to notice the arising of the feeling shows some mindfulness and restraint.

Conceit is one of the 10 fetters to be abandoned by an Anagami, the last stage of the practice.

So long as you are not holding on to that pride or perpetuating it you are doing fine.

To stop pride &amp; conceit from arising don't compare!