Struggling with an illness is already no fun, and he’ll be keeping his condition a secret from Lucy Liu’s Joan, which will impact his relationship with her.
The title of the Season 6 premiere does not bode well for Sherlock’s health, though, so he may not even survive to a seventh season.
So to now have him reflecting back on his times with Moriarty is to keep him in the mental pits.