The Basis of Morality by Part 3 Chapter 9 Page 18

By the proper presentment of motives legality may be secured, but not morality. It is possible to remodel what one does, but not what one wills to do; and it is to the will alone that real moral worth belongs. It is not possible to change the goal which the will strives after, but only the path expected to lead thither. Instruction may alter the selection of means, but not the choice of the ultimate object which the individual keeps before him in all he does; this is determined by his will in accordance with its original nature. It is true that the egoist may be brought to understand that, if he gives up certain small advantages, he will gain greater; and the malicious man may be taught that by injuring others he will injure himself still more.

But Egoism itself, and Malice itself, will never be argued out of a person; as