vainglory

noun
  1. excessive pride in one’s achievements or appearance; boastful vanity
  2. Usage: formal

Examples