The Gemara Shabbos 140b states the following..
וְאָמַר רַב פָּפָּא: הַאי מַאן דְּאֶפְשָׁר לְמִישְׁתֵּי שִׁיכְרָא וְשָׁתֵי חַמְרָא — עוֹבֵר מִשּׁוּם ״בַּל תַּשְׁחִית״. וְלָאו מִילְּתָא הִיא — ״בַּל תַּשְׁחִית״ דְּגוּפָא עֲדִיף
And Rav Pappa said: One who is able to drink beer and nevertheless drinks wine violates the prohibition against wanton destruction. The Gemara comments: And this is not a correct matter, as the prohibition against destruction of one’s body takes precedence. It is preferable for one to care for his body by eating higher quality food than to conserve his money.
Says the Maharsha that Rav Pappa only said this for his own benefit, because he was a beer merchant (see Pesachim 113a) and he wanted people to buy beer, but really he seems to be wrong because wine is better for the body like the Gemara explained.. (see Reshash that comments on the Maharsha that his accusation is groundless and unfounded).
Why would the Maharsha accuse such a holy Torah luminary that predated him by centuries?