conceit

noun
  1. excessive pride in oneself or one’s achievements; vanity
  2. an elaborate or fanciful metaphor or comparison, especially in poetry
  3. Usage: literary
  4. a fanciful or whimsical idea; an imaginative notion

Examples