The consumption of foods with higher scores on the British Food Standards Agency nutrient profiling system (FSAm-NPS), reflecting a lower nutritional quality, is associated with an increased risk of developing cancer.