As bunny says, you need calories, but you need the right proportion of nutrients to allow eacH macronutrient the optimal pathway for its desired purpose(your desired purpose).
In a perfect world, every gram of protein is going to go to building muscle through the right metabolic pathways.
But, first, it is not a perfect world, and second, without the other nutrients being available to the body to use for its needs, it will simply use the protein for needed glucose for the brain, liver, etc.