Regular exercise is beneficial because it allows active muscles to use up sugar as a source of energy, which prevents sugar build-up in the blood.
For some people with type 2 diabetes, exercise may work as effectively as some medications, and sometimes, with fewer side effects.
If you're at risk of developing type 2, regular exercise may help delay or prevent the onset of diabetes, along with boosting your overall fitness.
https://www.diabetes.ca/about-diabetes/stories/how-exercise-can-help-lower-your-blood-sugar