Good Nutrition controls energy balance, whether the goal is to have positive or negative energy balance, you must be aware of how much you are eating.
Good nutrition provides nutrient density regardless of body weight goals. Gaining weight is not an excuse to make poor nutrient choices, and losing weight is not an excuse to eat anything as long as it is not a lot.
Good nutrition should achieve health, body composition, and performance goals simultaneously.
Finally, good nutrition is outcome based; therefore, you must measure and remeasure so that you can answer this question: “How is that working for you?”