It used to be common to hear: “Starve a cold, feed a fever.”
Maybe this is what they meant.
Sorry I cannot source this but my Grandma(?) told me that the saying meant that if you feed someone with a cold, it will get worse and they will develop a fever. Then you will have to starve him for sure. Can anyone confirm or correct this?