What is the meaning of Sanctimony?

A hypocritical form of excessive piety, considered to be an affectation merely for public show.

much older meaning: a state of holiness

Source: wiktionary.org