I'm laughing at all the "if you don't give your baby chocolate they'll grow up mugging little old ladies for Snickers out of desperation!!!!" type comments. Wow some people are really desperate to attack other women's parenting, aren't they?
I never tasted processed sugar until I was maybe two or three, and as a consequence never developed a taste for it. As an adult I still not bothered about sweet things and rarely eat sugary snacks or puddings. (And no I am not bragging or 'virtue signalling', I eat loads, but my indulgences are curries, chips, pizza and crisps, nothing sweet).
All the ninnying posts claiming not giving children sugar will turn them into crazed sugar addicts come from jealousy and people being insecure and wanting to put down other mothers. Probably they feel judged because they fed their own babies cola and chocolate.
There's a huge, huge difference between turning something into a desired but forbidden "treat" (like forcing kids to take carrot sticks to birthday parties) and simply avoiding it. My mother never denied me chocolate or anything else, she had a policy of never saying no if I actively asked for something, she simply ensured that I was not exposed to sugary foods so that I didn't know they existed and thus never wanted or asked for them. If babies/toddlers are never given chocolate then they won't even know chocolate exists. There's no reason a tiny little baby needs to know that chocolate even exists since a baby only has access to what their caregivers give them.
Obviously when children get older and start attending school and going to birthday parties it's impractical and wrong to control their diet to that degree (once I started kindergarten my mother gave up on trying to keep me away from sugar since it would have meant not letting me join in and do things all the other kids were doing) but by that time my tastes had been pretty much formed so it didn't matter. What's appropriate for a baby is different from what's appropriate for a toddler is different from what's appropriate for a 5-year-old. A little baby doesn't need chocolate and isn't old enough to want chocolate or ask for chocolate.