You can use the land to grow beans and other plant protein as opposed to grain. There is another level of opportunity costs. Without the need to use land to produce animal products, we can use less land and grow a larger variety of crops.
https://en.wikipedia.org/wiki/Digestible_Indispensable_Amino...
Beans are great, but the amino acid ratios aren't ideal for humans and they are deficient in certain essential amino acids which we can't synthesize. It's certainly possible to get near optimal ratios and quantities with a mix of plants but this takes a bit of planning.
This is true for any processed food. And I’m using “processed” liberally here. Meat must generally be butchered, and salted/smoked/cooked before consuming, but we’re just so used to it we don’t consider it “processing” or “planning” to do it.