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.