People who eat a healthy diet are less likely to have cancer than people who eat an unhealthy diet. For example, people who eat vegetables regularly are less likely to develop cancer than those who eat few vegetables, grains and fruits.