When I got HBA1C of 5.9% (pre diabetes), I tried dieting(eliminated snacks - biscuits, buns, chips, sugary stuff) and exercising and intermittent fasting for couple of years. Still, my HBA1C hovered around 5.7%-5.8%.
I later eliminated all sugary fruits, carbs(bread, rice, wheat, millets...