It seems to me that if you or I must choose between two courses of thought or action, we should remember our dying and try so to live that our death brings no pleasure to the world.
It is much easier to change how you think by changing your behavior, than it is to change your behavior by changing how you think. Act out the change you seek.