The thing is that, it is not hard rather, I believe it is unproductive. Learning programming in my opinion is having an understanding of a problem, an abstract idea of a solution and then zigzagging and tumbling across that solution with code.
The end goal is providing a programmatic solution to a problem. The issue is that coding and googling provides the experience of journey across a solution. Hence the zigzag. You try this, you fail, you google why you failed, you learn something new and you try again. This kind of efficient feedback loop helps you learn.
The problem is that without google you have to waste trying to find a solution. The impact is not immediate. There are no progressive bumps of learning. Moreover, without googling you end up doing very hacky programming. Because you only have access to what you know. You can't explore things readily because there is a friction.
For a mature programmer, you can make that suggestion, because they are confident about their knowledge and way around documentation. But for new learners I don't recommend this at all. I have tried this, and this creates a very fatiguing experience.