sanctimonious

(adj) hypocritically pious or devout.   
The Salem Witch trial accusers thought they were right and acted sanctimoniously towards the accused.