1. I believe that sanctimony produces chemicals in the brain that lead to a warped feeling of pleasure. 2. Some folks actively seek situations that produce sanctimonious pleasure. 3. I suspect they're drawn to authoritarianism and religious fundamentalism (just a guess).