Neither is it unreasonable to stop drinking these things entirely, but it is not required. However, it is important to realize that issues with weight gain or weight loss can often also be related to what you drink as much as to what you eat. You will likely never be at a healthy weight if you drink a bottle of wine a day, or get through a family-sized bottle of soda.
If you do have to have a drink with food, then often a glass of water will be the best option. There are more reasons for this than just the issue of weight. A glass of water will also keep you from getting thirsty and will help you enjoy the meal, but will not interfere with the taste. And if you are thirsty, a glass of water is the best drink you can have – it replenishes the body’s hydration levels and allows you to enjoy the occasional glass of wine or soda more (on those rare occasions you do spoil yourself a little, perhaps once a week or less). When already hydrated with water, then you get to really savor the taste of your drink, and since you're not as thirsty, then you also don't crave to drink as much.