Sanctimonious
Etymology
From Latin sanctimonia, "holiness, sanctity," from sanctus, "holy." Curiously, it entered English around 1600 with the neutral or positive sense of genuine holiness, but within a century the meaning soured into the pretense of holiness — false, self-satisfied piety. Shakespeare and the age of religious controversy helped fix the hypocritical sense we use today.
adjective · /sangk-tih-MOH-nee-us/
Making a hypocritical show of being morally superior or devout.
What it names
The particular smugness of someone parading their virtue or piety to look better than everyone else.
Example
Spare me the sanctimonious lecture about waste from a man who replaces his phone every year.
Related idea
Self-righteous is convinced of one’s own moral correctness; sanctimonious adds the flavor of hypocritical, showy piety.