Some quick googling indicates that this practice both increases meat production by 10-30%, and protects animals from a lot of suffering, as they spend their lives mostly healthy.
That said, yeah, we can't keep doing this, and we have to pay the cost. Let's just not pretend there is no cost.