Protein per 100g of soy beans: ~40g raw, ~30g cooked
PDCAAS for beef (Protein Digestibility Corrected Amino Acid Score): 0.92
PDCAAS for soy: 0.91
Approximately no additional grams, if you pick the right legumes.
Sources:
https://en.wikipedia.org/wiki/Protein_quality