proverb

The remedy is worse than the disease.

problem

used to express that

The solution to a problem produces a worse result than the problem does.

similar

The cure is worse than the illness The cure is worse than the ill