Also, evolution doesn't care about life span, beyond what is necessary to ensure the survival of genes across multiple generations.
Evolutionary wise, in palaeolithic times sugar was probably very rare (you'd come across a bush of fruit every now and then perhaps but not all the time). Sugar is something extremely beneficial for your body if there's a lack of it in your diet and you're in a daily survival situation, it's pretty much pure energy. So evolutionary wise, when you come across a patch of sugary fruit it's beneficial to eat it all!
Nowadays we're surrounded by sugar and our diets are saturated with it. The food industries are advertising lies to us all the time. Seen those green cans of Coke with 'healthy' sugar in them? Pretty much complete bullshit!
Also evolution doesn't care if you are happy, healthy, live long, etc. It only cares how good are you at spreading your genes. We only live long because grandparents make kids more probable to live long enough to procreate.