This is an exaggeration but essentially true. The truth is if you adopt keto as a lifestyle which means a commitment to low carbs, no grains etc. then you’ll have lasting results.
If you look at keto as a short term weight loss diet and go back to eating carbs they will affect you and your body the same way when you add them back into your food.
The underlying and unspoken truth is that one would assume that carbs aren’t good for long term health and keto is. He’s implying that carbs are a necessity of life and keto will fail you in the end, completely ignoring that the carbs were the source of people’s metabolism disorder that led to weight gain in the first place. He probably also thinks you eat too much and don’t move around enough, completely ignoring the hormonal driven reason too much weight stems from. Get a new doctor that supports keto.