Certain foods are linked to a higher risk of developing diabetes