self-righteously
verb
°In a self-righteous manner.