It's possible to have mental health issues and also be a responsible dog owner.
It's possible to consider your dog family and be responsible as it's owner.
It's possible to love a dog, and still treat it like a dog and be it's responsible owner.
Dogs, alongside other animals, have health benefits both physically and mentally - and it's possible to have those benefits and also be a responsible owner.
It's not the responsible owners that love their dogs, call them family, have them for company, or are made to feel better by their presence that are the issue.
It's the owners who aren't responsible (even though they may still do all of the above) that don't meet the dogs needs, don't control it adequately, seek out known aggressive breeds for the reason that they are aggressive, have little or no knowledge and don't care to learn, or believe the world revolves around them and the dog becomes an extension of that, that are the issue.