I am not a teacher.
The word is "disagree".
When talking about food we almost always use the negative and it usually means that something has an adverse effect on you.
"Boiled cabbage does not agree with me."
- For Teachers