Yes a balanced diet is the key but without your body's first line of defense every attempt to cure candida is useless no matter how good your diet is. All food that you eat contains "bad" bacteria, fungi, pathogens, your body stops and destroys this with stomach acid, if your stomach acid is compromised your body's compromised. Candida alters the amount of acid your stomach makes.
I guarantee you no one from older times such as the dark ages had a problem with candida. Food these days is riddled with additives, chemicals, and hormones, our immune system is constantly under attack. "All diseases start in the gut"