sententiously

adverb
  1. in a way that expresses moral judgments or opinions in a pompous, self-righteous manner
  2. Usage: often implies excessive moralizing

Examples