Feeling guilty bc I ate a bad snack

I’m already obese. I’m 6 weeks tomorrow, and up until now I’ve been very healthy. No sugar or caffeine. Today I ate a whole share packet of M&Ms.; Please don’t laugh at me but will eating all that sugar in one sitting harm <a href="https://play.google.com/store/apps/details?id=com.glow.android.baby">baby development</a>?