Neither of those really feels right.
"In case" is like a warning, and is used more in sentences like: "In case it rains, you should carry an umbrella."
"On condition" is very rarely used in casual speech, and is more appropriate in legal documents.
I think the sentence you're trying to say is: "If you atе lеss, you would not gеt so fat."