Francis Bacon (1561-1626) was the author of this aphorism

“Sometimes the Remedy Is Worse Than the Disease” a new version of that is “Avoid any remedy that is worse than the disease” and I guess it is different enough from the original to merit a link.  “Aesop”, but then there is 19th century doctor Sir Robert Hutchinson “And from making the cure of the disease more grievous than the Endurance of the same, Good Lord, deliver us.” and the NYTimes, in 2019, “When the Cure Is Worse Than the Disease”
So while this is an oft modified phrase, it delivers a good message.

And another “It could never be more truly said than of the first remedy, that it was worse than the disease.” which was said of “liberty” i believe (dont quote me) in the Federalist papers. And reported in Politico in 2016 “The Cure for Fake News Is Worse Than the Disease”