You need to eat a variety of foods instead of just eating the same food all the time.
この場合、次のような言い方ができますよ。
ーYou need to eat a variety of foods instead of just eating the same food all the time.
「いつも同じものだけを食べてないで、いろいろな種類の食べ物を食べないといけないよ」
to eat a variety of foods「種々さまざまな食べ物をたべる」
ご参考まで!
Don't just eat the same food all the time, try to have a balanced diet.
「同じ物ばかり食べてないで、バランス良く食べなさい」という日本語のフレーズを英語に直訳すると "Don't just eat the same food all the time, try to have a balanced diet." になります。
ここで「同じ物ばかり食べてないで」は英語で "Don't just eat the same food all the time"、「バランス良く食べなさい」は "try to have a balanced diet" と表現します。
関連フレーズ:
the same food all the time: 同じ物ばかり
have a balanced diet: バランス良く食べる
Don't just: ~だけではなく
try to: ~するように努める