All the money in the world and a privileged lifestyle doesn't give you good mental health. Harry saw his mother hounded to death by the press and had to hold his emotions in, aged 7 or so, when he had to walk behind her coffin for some distance at her funeral. He has opened up about needing therapy to deal with that.
Forward on some decades, when his wife now faces sexist, misogynistic, racist etc. press day in and day out. Again, all the money in the world doesn't shield you entirely from this or its effects.
Anyone else would be applauded for taking themselves out of a toxic job. But we have an odd attitude towards the royals, in that we feel that we own them and therefore have every right to dictate what they do - they are effectively dehumanised. Yes, our taxes fund their lifestyle and Frogmore house was expensive - I recognise that. And it looks as though the way in which Harry and Megan's decision was communicated left a lot to be desired.
However, disengage the method of communication / planning for this decision, from the decision itself. We do not have a right to demand that anyone's mental health is driven completely into the ground, no matter who they are.