preachment

noun
  1. a tedious or self-righteous moral lecture or sermon
  2. Usage: often disapproving

Examples