I have had to before, when I was young and we did not have money to tend to our own medical needs, let alone those of a pet. Two cats and one dog. It was horrible and I had nightmares about it for years after each of them.
As an adult, I have made sure that I have the means to take care of my animals.