In general, the shorter the food chain, the more efficient it is. This is a universally known fact. I will drop some helpful links for you if you doubt this:
https://en.wikipedia.org/wiki/Energy_flow_(ecology) https://www.bbc.co.uk/bitesize/guides/z2m39j6/revision/6 https://scienceaid.net/biology/ecology/food.html#ecological_...
The figure given is 77% of agricultural land is used for livestock
This is an all too easy narrative. Synthetic fertilisers might simply have caused an arms race for short term, higher efficiency which destroyed less efficient production techniques.
That does not make it long term efficient, see research on sustainable farming[0].
[0] https://rodaleinstitute.org/wp-content/uploads/RI-FST-Brochu...
The only reason we need industrial fertilisers, is because its packaged so well and easy to distribute. But if we weren't raping the soil in the first place, we wouldn't have this problem.
Industrialized farming needs to be revolutionised by the same technique that computing went through: a DIY revolution.
If you don't have a garden, now is the time to start. Everyone should have a garden.
However, these types of impacts are trivial in comparison to the 1.9% energy efficiency for beef. Regardless of the fertilizer used, we would use just under 1/50th of it if we consumed the plants directly, along with the same savings in land and water.
[1] https://thebreakthrough.org/articles/to-cut-nitrogen-polluti...
https://www.ers.usda.gov/data-products/fertilizer-use-and-pr...