To maintain a healthy weight, the important factor according to the Dietary Guidelines for Americans is:
Balance calories eaten with activity level.
While the other options are also important for overall health, balancing calories is specifically key for weight management.