A typical battle between the head and the heart.
Well I got diabetes because I ate too much sweet stuff. I was overweight anyway, very much more overweight 35" waist. I haven't had one of those since I was 15. I have always had a sweet tooth too. When I gave up smoking I ate too many sweets, either sat driving or sitting at a computer. No cigs, sweets will do net result, type 2.
I made sure that the only sweet stuff I ate was fruit. No marmelade on toast, no jams, nothing like that. However, fruit didn't completely satisfy but what I discovered was things which had a substantial crunch alleviated the urge for something sweet so, it was thin rye crispbreads with thinly sliced cheese or salmon paste. In addition, I needed a sharp contrasting taste, so I added very thinly sliced pickled onion of the cheese for example. They became a good alternative to biscuits. My favourite crispbread were Lidl's sesame rye. Very thin, light and crunchy. As an alternative, something like Peter's Yard crispbread. It is very hard and very crunchy. Break bits off and have with a powerful cheese, or salmon and dill, or cream cheese and chives, sundried tomatoes and olives and it will steer your mind away from chocolate hobnobs. Over time, you will re-educate your palette.