Updated:

A Balanced Diet: every requirement

"A Balanced Diet" asks you to "Eat everything that is edible, even if it's not good for you" (ID: minecraft:husbandry/balanced_diet). It has 40 requirements, and you need all of them.

Requirements

RequirementIDGrant only this
Appleapple
Baked Potatobaked_potato
Beetrootbeetroot
Beetroot Soupbeetroot_soup
Breadbread
Carrotcarrot
Chickenchicken
Chorus Fruitchorus_fruit
Codcod
Cooked Chickencooked_chicken
Cooked Codcooked_cod
Cooked Muttoncooked_mutton
Cooked Porkchopcooked_porkchop
Cooked Rabbitcooked_rabbit
Cooked Salmoncooked_salmon
Cookiecookie
Dried Kelpdried_kelp
Enchanted Golden Appleenchanted_golden_apple
Glow Berriesglow_berries
Golden Applegolden_apple
Golden Carrotgolden_carrot
Honey Bottlehoney_bottle
Melon Slicemelon_slice
Mushroom Stewmushroom_stew
Poisonous Potatopoisonous_potato
Potatopotato
Pufferfishpufferfish
Pumpkin Piepumpkin_pie
Rabbitrabbit
Rabbit Stewrabbit_stew
Raw Beefbeef
Raw Muttonmutton
Raw Porkchopporkchop
Rotten Fleshrotten_flesh
Salmonsalmon
Spider Eyespider_eye
Steakcooked_beef
Suspicious Stewsuspicious_stew
Sweet Berriessweet_berries
Tropical Fishtropical_fish

To see which requirements are left, hover over the advancement on the advancements screen.

Commands you can copy

Grant this advancement

/advancement grant @p only minecraft:husbandry/balanced_diet

Remove this advancement

/advancement revoke @p only minecraft:husbandry/balanced_diet

Check whether a player has it

/execute if entity @p[advancements={minecraft:husbandry/balanced_diet=true}]

These are Java Edition advancements. Bedrock has achievements instead, with different names and goals.