'JJ' did well in reviews, we don't know about ratings but we should assume it did well enough to keep her in the Defenders and provide a second season (which was announced last year) but 'Sherlock' and 'Doctor Who' are both struggling with ratings and reviews.
They have plenty of goodwill, and they generate enough money for the BBC to be around (Sherlock may or may not come back, based on what the people making it are doing of course) but we're not talking about universal praise there.
Actually she killed herself because Jessica's inability to deal with the situation was getting other people killed.
I'm not suggesting that we're not meant to feel Jessica's pain, or that her issues (in the real world) are not terribly serious but, in fiction, the people who make the shows choose how they deal with those things.
And tragedy can be compelling, Romeo and Juliet is a long lived example, the Godfather movies are a more recent (by a few hundred years) one but JJ failed to be compelling for me.
Good intentions do not a success make on their own, not for the character and not for the show.