egotism (ego + -ism; doctrine_practice)
A tendency to talk excessively about oneself