An idea from Groundwork of the Metaphysics of Morals
Show even a hardened villain an example of honesty and kindness, and he wishes he were like that. He knows exactly what he is failing. It is “a law whose authority he recognizes while transgressing it.”