Allah says do not be boastful.
And do not turn your face away from people in contempt, nor go about in the land exulting overmuch; surely Allah does not love any self-conceited boaster. Surah 31 ayat 18
You shall worship GOD alone – do not associate anything with Him. You shall regard the parents, the relatives, the orphans, the poor, the related neighbor, the unrelated neighbor, the close associate, the traveling alien, and your servants. GOD does not like the arrogant show-offs. Surah 4 ayat 36
So that you may not grieve for what has escaped you, nor be exultant at what he has given you; and Allah does not love any arrogant boaster. Surah 57 ayat 23