This is true, but not all questions get closed though. I've only asked a few questions myself. Even at 34K reputation, I'm reluctant to ask a new question. Every time I want to ask a question, I just go and read this answer.
Quoting the relevant parts:
How much research effort is expected of Stack Overflow users?
A lot. An absurd amount. More than you think you are capable of. In fact, asking a question on Stack Overflow is the absolute last thing you ever want to do. You want to avoid it at all costs. You want to think of it as a horrible shame that will forever haunt you and pass down from you to your descendants. You want very much to find your answer some other way.
[...]
After you have reached the end of your rope and the pain of not having the answer exceeds the vast amount of shame received by posting your question, that's when you can go ahead and ask. Because at that point, you will have done whatever research necessary to make it a good question worth asking. Because so help me, if your question gets an answer within 30 seconds that has 10 upvotes within 3 minutes, you did not do enough research.
It inspires me to go back and search. There are times when I've spent many weeks trying to solve a single problem. This is not to say you shouldn't ask a question. If you've got a valid, on-topic, not too localized, not too broad question that would be useful to others, by all means ask it. That's exactly what Stack Overflow is here for!
The site was originally created with the intention of being a repository of high-quality questions and answers. At the time of writing, there are over 7,319,003 questions questions (and counting!) asked on Stack Overflow alone. So when a user asks a new question, it is highly probable that the question they're about to ask has already been answered on the site.
The problem is that most users just sign up on the site, type whatever comes into their mind into the question form and post it. This is not what Stack Overflow expects from its users. The How to Ask page actually puts this perfectly well:
Search and Research
Have you thoroughly searched for an answer before asking your question? Sharing your research helps everyone. Tell us what you found (on this site or elsewhere) and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and above all, it helps you get a more specific and relevant answer!
There's no need to worry about anything else if you're sure you've followed all the guidelines listed in the How to Ask page page. The problem, however, is that people never read anything.