I couldn't place a tag on either one as better or worse tbh.
It's a very subjective question. I mean it would depend on the severity of the anxiety or depression. Either of them if severe, would be equally bad IMO. Both can be destructive and disruptive to my life and people around me. I could never choose one or the other as I would never choose to be anything but peaceful and happy if I had the choice