Hello
@Josephine1978 welcome to the forum.
Diabetes and mental health are intricately linked, fluctuating blood glucose levels affects mood, as does diet, as does the constant care management required to monitor and control glucose levels. Then add a mix of stress, and dealing with life's many other events and it can play itself out as burnout, depression or anxiety related stress.
Have a look round the forum to see what topics members post about their condition and their mental health as it will help you understand more.