Self-righteousness (also called sanctimony, sententiousness, and holier-than-thou attitudes) is an attitude and belief of moral superiorityderived from a person deeming their own beliefs, actions, or affiliations to be of greater virtue than those of the average person.