To find a person who does not understand why they are unable to lose weight is not at all rare and curses the fact that while they eat all the right foods, their weight hangs around the barrier of few pounds overweight." They're going to tell you all this and ask what they're doing wrong, and they're going to take a gulp from a can of soda, a bottle of beer, or something similar in the next few minutes, and admit it's their third of the day or night when asked.
Today, keeping a balanced diet while managing to enjoy the odd bottle of wine or can of soda is far from unlikely. Nor is it impossible to absolutely avoid drinking these things, but it is not compulsory. It is important to note, though that problems with weight gain or weight loss will also be as much of what you drink as what you eat. If you drink a glass of wine a day or get into a family-sized bottle of soda, you won't be at a good weight.
If you need to have a drink with dinner, so the better choice would always be a glass of water. For this, there are more explanations than just the question of weight. A glass of water will protect you from getting thirsty and will not mess with the taste, it will make you enjoy the meal. And if you are thirsty, the only thing you can drink is a glass of water, which replenishes the rate of hydration of the body and helps you to enjoy the occasional glass of wine or soda more so you can still flavor the taste.