There's no selection pressure when a monkey bangs their hands on a keyboard. It's just randomness without any consequence. The letters are not interacting with each other or their environment in any significant way.
Evolution wasn't evolving towards the specific point we are at now. It was just doing its own thing all the time, with no plans for the future.
So, a better (but still not great) question, would be, if a monkey bangs on keys forever would they ever produce any kind of story at all?
But, that's still not good enough, because evolution is iterative, and would pick out very short stories that worked a bit, and that page kept getting duplicated out to new monkeys who would start typing from the end of that story
Obviously yes, hence we are the monkeys banging on the keyboard. Evolution just boosted those that made interesting strings because it gave a survival advantage.
It is an established rule that, “If a being has unity, it can only have issued from a single being, from one hand.” Particularly if it displays a comprehensive life within a perfect order and sensitive balance, it demonstrates self-evidently that it did not issue from numerous hands, which are the cause of conflict and confusion, but that it issued from a single hand that is All-Powerful and All-Wise.
Therefore, to attribute such a well-ordered and well-balanced being which has unity to the jumbled hands of innumerable, lifeless, ignorant, aggressive, unconscious, chaotic, blind and deaf natural causes, the blindness and deafness of which increase with their coming together and intermingling among the ways of numberless possibilities, is as unreasonable as accepting innumerable impossibilities all at once. If we leave this impossibility aside and assume that material causes have effects, these effects can only occur through direct contact and touch. However, the contact of natural causes is with the exteriors of living beings. And yet we see that the interiors of such beings (like a Single Cell) , where the hands of material causes can neither reach nor touch, are ten times more delicate, well-ordered and perfect as regards art than their exteriors. Therefore, although tiny animate creatures, on which the hands and organs of material causes can in no way be situated, indeed they cannot touch the creatures’ exteriors all at once even, are more strange and wonderful as regards their art and creation than the largest creatures, to attribute them to those lifeless, unknowing, crude, distant, vast, conflicting, deaf and blind causes can result only from a deafness and blindness compounded to the number of animate beings.(from light of Quran)