Before revision: Self-righteousness (also called sanctimony, sententiousness, goody-goody attitudes, and holier-than-thou attitudes"Holier than thou" originates from the King James Bible, Isaiah 65:5, in which such an attitude is condemned) is an attitude and belief of moral superiority derived from a person deeming their own beliefs, actions, or affiliations to be of greater virtue than those of others.
After revision: Self-righteousness (also called sanctimony, sententiousness, and holier-than-thou attitudes"Holier than thou" originates from the King James Bible, Isaiah 65:5, in which such an attitude is condemned) is an attitude and belief of moral superiority derived from a person deeming their own beliefs, actions, or affiliations to be of greater virtue than those of others.