Wouldn’t consuming dairy products still be a better choice than meat in that case? (atleast if we are talking about cows and sheep, since I don’t think more climate friendly meat like chickens and pigs adds that much to biodiversity)
Meat from grazing animals has a lot of additional positive effects re. biodiversity, and preventing desertification.
https://www.youtube.com/watch?v=vpTHi7O66pI (How to green the world's deserts and reverse climate change | Allan Savory)