Yeah, your proclivity to overeat is highly genetic, and your predisposition to get T2 diabetes in an energy surplus is highly genetic.
We like to think that our (positive) behavior comes from our own self-made character traits rather behavior that is genetically determined.