The two complement each other and are both important. Perhaps for people who want to succeed, as long as their health is not too bad, then mental health may be a little more important.
Of course, if you are terminally ill, then you are mentally healthy and may die before you can achieve anything. Then health is of course more important at this time.