moralism

noun
  1. the practice of making moral judgments about others’ behavior, especially in a self-righteous or preachy way
  2. a system of moral principles or the emphasis on moral conduct as the basis for behavior
  3. Usage: philosophical

Examples