He also commands: Call upon Me and I will answer you. If you say: "We frequently offer supplications, but they are not accepted. But the verse is general, it states that every supplication is answered."
The Answer: To answer is one thing, to accept is something quite different. Every supplication is answered, but its being accepted and exactly what was sought being given is dependent on Almighty Allah’s wisdom. For example, if a sick child calls the doctor, saying: "Doctor! Doctor!", and he replies: "Here I am, what do you want?", and the child says: "Give me that medicine!", the doctor will either give him exactly what he asks for or something better and more beneficial for him. Or knowing that it is harmful for his illness, he will give him nothing.
Thus, since Almighty Allah is all-present and all-seeing, He responds to the supplications of His servants. Through His presence and response, He transforms the desolation of loneliness and solitude into familiarity. But He does this, not in accordance with man’s capricious and importunate demands, but in accordance with the requirements of Dominical wisdom; He gives either what is sought or what is better than it, or He gives nothing at all.