ego trip

US /ˈiː.ɡoʊ ˌtrɪp/
UK /ˈiː.ɡoʊ ˌtrɪp/
"ego trip" picture
1.

an act or period of self-indulgent behavior, often motivated by a desire to impress others or boost one's own self-importance

:
His long speech was just an ego trip, full of self-praise.
She accused him of being on an ego trip when he insisted on taking all the credit.