When pursuing a goal, it can be easy to get discouraged. Research on the aptly named “what-the-hell effect” has demonstrated that even small failures, such as missing a daily diet goal by a few calories, can lead to downward spirals in behavior—such as eating a whole apple pie.