Our 8 year old dobie is a member of our family. I would not do that to her.
If you face a $5,000 or $10,000 bill and that’s a lot of money and you don’t have it, its not humane to let your dog suffer for your needs.
The dog’s well-being should always come first.