All of us have asked God for something and not gotten it. When this happens we generally believe that God hasn’t answered our prayer. That isn’t necessarily the case. Jesus said:
Which one of you, if his son asks him for bread, will give him a stone? Or if he asks for a fish, will give him a serpent? If you then, who are evil, know how to give good gifts to your children, how much more will your Father who is in heaven give good things to those who ask him!