It is not wrong to strive to be better than a fellow human being. Nor is it wrong to desire to be better or even to feel like oneself is better than a fellow human being. What is wrong is to gloat in one's own virtue. Therefore, gloating in one's own virtue is not virtuous.