means that
many difficulties can be remedied or overcome, so one should not lose hope; death is presented as the ultimate irreversible exception.
Imagine a case where every problem in this life, except death that is final and unchangeable, have a solution, so people should not lose hope.; then “There’s a remedy for everything, except death,” fits well.