The idea that "eating a donut" == "slowly killing oneself" is very silly to me. People get donuts because people like donuts. If you don't like donuts thats fine. But most people like donuts and don't think of it as "I am committing suicide by doing this". TLDR chill
Also I was generalizing but it is also very popular to have these events be a drinking thing. That really is slowly killing yourself. Though I do believe that the social benefits could outweigh the minor health hit.
One of the main things about a healthy lifestyle is abstaining from tempting food with little or zero nutritional value. Letting it creep in once in a while is breaking the mentality you have created to maintain that diet.