wān​ròu​bǔ​chuāng

to resort to a remedy worse than the disease or rob Peter to pay Paul