Approximately 9.3% of people worldwide have diabetes. Diabetes is a chronic illness that affects countless individuals and has a significant financial impact on national public health budgets. Defects in insulin action, secretion, or both might trigger it. A hormone referred to as insulin aids in regulating metabolism and blood glucose levels. About 6 million diabetics require insulin injection to keep their blood sugar levels stable. The glucose-insulin system is modeled in this paper as a nonlinear system with input and state delays. For the glucose-insulin system, we first provide a control law to reach global asymptotic stability with a delay in its states. The concept is then expanded to include an insulin-glucose system with input and state delays. To control blood glucose and insulin levels, our strategy makes use of the Lyapunov-Krasovskii theorem and the backstepping technique. Simulating a closed-loop system has been used to validate the proposed control law. The presented approach successfully creates global asymptotic stability for the glucose-insulin system, according to simulation data.