Term: ego trip
Example: ignore him, he's just going on an ego trip
Definition: something done primarily to build one's self esteem or display one's splendid qualities