Dietary fat

Dietary fat has been vilified.  Is this a correct characterization of this macronutrient? Is all fat bad?