As my grandfather said (he made it 101): a little bit of everything.
Basically don't over indulge in anything. You want cake? Have slice of cake not the whole thing.
Wine? have a glass, not a bottle.
My great-grandfather sadly died at the age of 99-3/4. He had lived by himself (in a 5th floor apartment) for dozens of years. He liked to drink Schnapps (old German), smoke cigars, and play the guitar. And make dirty jokes. He hated most of the family, but for some reason he liked me (I was 6 or 7 years old at the time).
Then he fell down the staircase, and broke his arm. Nothing serious, just a cast. But because of his age, they put him in the hospital for a few days. Well, in the hospital you can't make dirty jokes, and touching the behinds of the nurses is discouraged. There is no Schnapps there, and you can't smoke cigars. He died within 3 days.
What do I eat? I have been mildly overweight for years (but in good shape, in the sense of doing lots of exercise). Recently, my blood sugar has gone out of control, so I was put on Ozempic, to get the sugar down. So now I eat very little. I try to focus on proteins and whole grains; being less hungry, it is easy to avoid carbohydrates like bread. Lots of fat from the cheeses I love to eat though. And no sodas, no sugar in my coffee, and few sweets (except dark chocolate and licorice).