with [phrasal verb] [T] - to cause to feel healthy and happyYou look well - the mountain air must agree with you.Those onions I ate didn't agree with me (= had a bad effect on my stomach and made me feel ill).
AGREE
Meaning of AGREE in English
Cambridge English vocab. Кембриджский английский словарь. 2012