This is a good way to think about this. Just as human's, pets also need health care and in some countries, that can be quite costly but very much needed.
I have always said, if you ever want to get a pet, you should look at how much it will cost for health insurance or vet bills for them...