proverb

One fire drives out another.

problem

suggests that

One way to stop a disaster or solve a problem, it to create another disaster or problem, only one that you can control.