moralistically

adverb
  1. in a way that emphasizes or judges morality, often with excessive or self-righteous concern for moral principles
  2. Usage: often carries a critical or disapproving tone, suggesting rigid or preachy moral judgment

Examples