Confidence is motivated by a sincere desire to help others and make a difference for pleasure of Allah. True confidence comes from knowing that you have the tools, resources and ability to do the job that’s expected of you.
In contrast, arrogance is driven by a need to help yourself. Deep down, arrogance actually reveals insecurity — the very opposite of confidence. Arrogant individuals seek approval and recognition from the people rather than Allah, for all the wrong reasons and in all the wrong ways.
“(Iblees said)…I am better than him (Adam), you created me from fire, and you created him from clay.” [7:12]
So we have to take account of ourselves and strive to follow the truth when we know it, and humble ourselves in front of others. The prophet (sallAllahu alyhi wasallam) said, “….And no one humbles himself before Allaah but Allaah will raise him (in status).” (Narrated by Muslim, 2588)