James 4:3
3 Ye ask, and receive not, because ye ask amiss, that ye may consume it upon your lusts.
When you go to work, do you not expect a pay day? When you plant a garden, do you not expect to reap the harvest? It is like that with God. We pray for an answer, but sometimes we do it thinking we will not get an answer. If you are doing to work for God and praying for an answer, expect to receive it. However, it will not always be the answer you want. God has a reason for this. So when you ask God for something, be ready for an answer.