There are plenty of super high protein vegetatian and vegan options available. Many nuts, and pulses are in the same ballpark as even red meat.
Consider that most people aren't strictly carnivorous, and are usually pairing a burger with 600 calories of fries, and a 400 calorie bun, which is all carb.
A beef steak is about 270 calories for 30g of protein, cooked lentils are about 22g for the same number of calories. I'm not researched enough in bioavailability to comment on that part.
For an 80kg man, the "recommended" protein intake is about 64g, the difference in calories is fairly minute (assuming you compare 100% meat vs 100% lentils). If you're training/weightlifting and following the advice of 2-3g per kg of bodyweight, you're almost certainly going to supplement your protein intake anyway. Protein supplements are 2-3x the density of red meat, and available in vegan options if that's your thing.
The bioavailability of protein from lentils is about 60%. So your cherrypicked comparison has about 50% of the useful protein content of beef.
Macronutrients are not the entire picture. If you look into micronutrients you’ll find all of the essentials in beef, some are not found at all in plant sources.
Be careful about all fda recommendations, they were heavily influenced by lobbying from the sugar / grain / cereal industry and are not being updated in step with science.
Not by any chance, when I eat nut they tend to deplete my minerals, requiring constants supplementation. Plus, I think some aminoacids are difficult to source from vegetarian sources. I personally do great on glycine (skin, eyes, hair, overall inflammation, sleep) and have not found a veggie source.
Consider that most people aren't strictly carnivorous, and are usually pairing a burger with 600 calories of fries, and a 400 calorie bun, which is all carb.