This quote means that in some situations, it is best to remain polite and friendly to someone even if you don’t like them or want to hurt them. Even if you want to do something to hurt them, it is best to pretend to be nice until you can find a more effective way to make them feel the impact of your actions.