It is arrogant if one expects to be better than everyone else.
If a person asks to be better loved than others in the sight of Allah , then it is a sign of arrogance because others might have more taqwa than him and may be more deserving than him...
On the other hand, competing to earn good deeds is a praiseworthy act. For example, trying to aim for the first rows in salah is an excellent competition.