Whatever their food is, 1kg of beef requires 24kg of grain's worth of energy. This is something they teach in high-school biology now. The higher the food chain, the more energy is lost. Stopping such production would be pretty beneficial to the environment, but whether we should is a complicated question.