Thich Nhat Hanh would probably disagree with James (and me) here, because he cares more about the person doing the thing than what happened when he did it. The Buddhist view of happiness requires that it be the right happiness—the mindful happiness that comes from devotion to the Buddha’s teachings.