Allah answers our prayers in 3 ways.
First He says YES and gives us what we ask.
Second, He says NO and gives us something better.
Third He says WAIT and gives us the best and at the time that HE thinks is good for you.
Well, as a Muslim, that is our guiding principle.