I've been trying to understand something about gratitude that seems fairly straightforward until I think about the implications.
Suppose someone deliberately sabotages your chances of getting a job. They give you a bad reference, knowing it's undeserved, because they don't want you to succeed.
You lose the opportunity. But because of that rejection, you take a completely different job, meet people you otherwise wouldn't have met, and eventually end up with a much better life than you probably would have had.
Years later, you can honestly say that the sabotage was one of the best things that ever happened to you.
Now suppose the person who sabotaged you finds out and says, "Well, I guess you should thank me."
My immediate reaction is that this is absurd. They tried to harm you. The fact that their actions unexpectedly benefited you shouldn't turn them into someone deserving gratitude.
But I'm struggling to explain why.
If gratitude is a response to receiving a benefit, then you did receive one through their actions. The causal connection is real, even if the intention was malicious.
If gratitude instead requires the benefactor to have intended your good, then what about someone who saves your life entirely by accident? Or someone who helps you for selfish reasons? We often seem willing to thank those people.
I'm particularly interested in whether philosophers distinguish between being grateful for an outcome and owing gratitude to the person responsible for it.
Is the intention behind an action necessary for someone to deserve gratitude, or are there philosophical accounts where the actual benefit is sufficient?
I'd appreciate any relevant literature on gratitude, moral desert, or moral luck.