Solomon
Proverbs 25:20ESV·traditional attribution

Whoever sings songs to a heavy heart is like one who takes off a garment on a cold day, and like vinegar on soda.

Matthew Henry Presbyterian @wholebiblehenry

1. The absurdity here censured is singing songs to a heavy heart. Those that are in great sorrow are to be comforted by sympathizing with them, condoling with them, and concurring in their lamentation. If we take that method, the moving of our lips may assuage their grief (Job 16:5); but we take a wrong course with them if we think to relieve them by...

John Gill Reformed Baptist @doctorgill

As he that taketh away a garment in cold weather,.... Either takes it off of himself, or another person, when it would be rather more proper to put another garment on, and so is exposed to the injury of cold weather; and as vinegar upon nitre: nitre was found in Egypt, beyond Memphis, as Strabo says (p); there were two mines of nitre, which produced...

Jamieson-Fausset-Brown Reformed @jfbcommentary

Not only is the incongruity of songs (that is, joyful) and sadness meant, but an accession of sadness, by want of sympathy, is implied.