Eating a wide variety of foods helps to ensure meeting all of your essential nutrient needs. Eat an assortment of foods within each and every food group.
Too much or too little of any nutrient can be harmful. Good nutrition means eating "not too much, not too little, but just right."
There are no good foods or bad foods. A balanced diet meets all essential nutrient needs while maintaining a healthy weight.