From Murder in the Cathedral by T S Eliot

The last temptation is the greatest treason:
To do the right deed for the wrong reason.

Spoken by Thomas A Becket to his murderers who suggest he lets them kill him so he will be a martyr.