In a recent study at the University of Cologne, 98 people were given an impossible task that, of course, they failed to complete. Afterward, some of them were instructed to wash their hands before attempting the task again. The ones who scrubbed up felt much more optimistic that they’d succeed next time. It was as if they had literally washed the failure away.

MORE: The Health Benefits of Pessimism