Matthew 7
7:7 Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you:
7:8 For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened.
7:9 Or what man is there of you, whom if his son ask bread, will he give him a stone?
7:10 Or if he ask a fish, will he give him a serpent?
7:11 If ye then, being evil, know how to give good gifts unto your children, how much more shall your Father which is in heaven give good things to them that ask him?
Matthew 7 reveals to us some of the characteristics of our Heavenly Father. Our Fathers desires to give us good things, and in His good timing, He shall.
James 4
4:1 From whence [come] wars and fightings among you? [come they] not hence, [even] of your lusts that war in your members?
4:2 Ye lust, and have not: ye kill, and desire to have, and cannot obtain: ye fight and war, yet ye have not, because ye ask not.
4:3 Ye ask, and receive not, because ye ask amiss, that ye may consume [it] upon your lusts.
James 4 provides us a mirror which reveals to us our own nature, and explains why God will not give us everything we ask for whenever we ask for it.
I can think of some very foolish things I have asked God for in the past. I am so glad that He said "NO". (and no, I will never tell you what they were
.)