How accepting things will go wrong can make you happier