It's not about the diet - most diets actually work, if you can stick with them for the rest of your life, but that's a huge if. CICO or keto or IF or carnivore or whatever, doesn't matter. Permanent weight loss requires the much harder task of fundamentally changing your brain's relationship to food. The only way that happens is through practice and painful failure.
You do have control over your weight. But losing fat and maintaining a lean body will be one of the hardest things you ever do.