I'm not sure that's a given. Animals aren't humans; they don't know what's going to happen to them. Is it really a given that it's morally worse to raise an animal on a small farm, have it live a comfortable life, and then eventually slaughter it for meat, than to have it never live at all?