He'd leave if I gain weight?

Had a talk with my boyfriend and found out he'd leave if i gained weight or let myself go. I'm no fit person I am chunky. I used to be very fit but I have mental issues that stop me. I don't know what to think about it but I have been hurt when found out.
Updates
+1 y
My boyfriend is a great guy. Treats me well and does a lot of things to help me improve. He has flaws like all of us. I just got a little hurt at the idea that he'd leave if i stopped trying and i don't known if i'm just over reacting
Updates
+1 y
He just said hed only leave if i gain like 200 pounds because women do tend to get comfortable in the relationship. Its not like he is like a body builder or anything himself. He hasn't gymed in a while but wants me to start gym with him. So we can help each other sort of thing. He knows i dont like my body and i know he wants to buff up.
He'd leave if I gain weight?
Post Opinion