Earlier quoted context omitted.
Quality of life isn't the whole story though. Longevity matters too. When I was a child if someone had asked me "Would you like to live a life of opulent luxury but be killed when you're 20?" I'd have said no. There is no doubt that a good farm is better than a bad farm, but neither is particularly great if you're a cow.
I think it really depends what the alternative is. If it's that vs living in the wilderness in a small family and no other support against the elements or vicious predators, that's not such as easy decision. Cows don't have a support system, society, government, or social welfare in their non-farm state. They just try to survive the elements and the environment.
That seems like a false dichotomy considering farmers aren't going out and rescuing cows from the wilderness and giving them the roof and food they didn't have on their own. An alternative is to not breed them in the first place.