Sometimes our prayers don't get answered the way we want. It's okay to ask God "Why?"
And it's also okay to cry.
But know that often, God has a huge "YES" hiding behind a little "no."
So don't give up yet, because "hope that is seen is not hope (Romans 8)", and . . .
God is a Master at Plans B through Z.
Have you had some answers to prayers that were not what you wanted? How did God work it out for your good?