(adjective)
holding or showing a particular sense of certainty in being correct or confidence in being morally superior, especially in a way that is baseless and/or narrow-minded;
e.g. She had a self-righteous smile as she explained why they were wrong.