I forbid you to eat snacks in the middle of the night.
You're not allowed to eat any snacks during the night.
forbid を使って言うなら、次のように言えます。
ーI forbid you to eat snacks in the middle of the night.
「夜中にお菓子を食べることを禁じます。」
forbid someone to ... で「人が…することを禁じる」
下の例文のように言った方が自然な言い方になります。
ーYou're not allowed to eat any snacks during the night.
「夜中にお菓子を食べてはいけません。」
not allowed to ... で「…してはいけません」
ご参考まで!
I forbid you from eating snacks in the middle of the night.
こんにちは。
様々な言い方ができると思いますが、例えば以下のような英語表現はいかがでしょうか:
I forbid you from eating snacks in the middle of the night.
夜中にお菓子を食べることを禁じます。
forbid you from で「あなたが〜するのを禁じる」と表現できます。
ぜひ参考にしてください。