Eating too much sweet food will not directly lead to diabetes. However, sweet foods are often high in sugar, as well as desserts that are high in fat. Eating too much means a significant increase in caloric intake, which can cause weight gain over time. Weight gain means increased fat content in the body, which can lead to insulin resistance, that is, the body tissue is insensitive to insulin, the pancreatic cells have to secrete more insulin to lower sugar, over time there will be a decline in insulin secretion function. Sweet food is high in sugar, and after eating it, blood sugar rises rapidly, which will stimulate insulin secretion in large quantities, and it is also a vicious stimulus to the function of the islets. Over time, insulin resistance becomes more and more serious, and insulin secretion function declines again, which will lead to elevated blood glucose and the occurrence of diabetes. Therefore, for healthy people, it is okay to eat sweet foods occasionally, but if you eat a lot of sweets regularly, the risk of getting type 2 diabetes will increase significantly.