In my personal experience as someone with a lifetime of mental illness and a few years of ever worsening chronic health issues, I'd say mental pain is worse in its own right. They're quite different, though, so it's hard to compare. And that can only speak for my experience. Everyone perceives both mental and physical pain uniquely, so there is no correct answer here.