There's protein and then there's complete protein. You need to consume enough of all of the essential amino acids to avoid protein deficiency even if you're consuming "enough" grams of protein. https://en.wikipedia.org/wiki/Essential_amino_acid
What about essential fatty acids?
If you ate, 2000 cals of whole wheat flour or Rolled oats (which can be used to make many other things like pancakes, waffles, cookies, crepes, tacos), you would get roughly 80g of protein, which is 60% more than your daily protein (52g) requirement!