High blood sugar can weaken the immune system. This makes it harder for the body to fight off infections.