Asking the Creator for the wrong things will automatically give us a "NO" answer. That's why it's important that we understand how He make things work and how the creator deal with our lives.
Here's an illustration:
-"I asked God to take away my habit. God said NO, it’s not for me to take it away but for you to give it up.
-I asked God to grant me patience, God said NO, patience is a byproduct of tribulations; It isn’t granted but learned.
-I asked God to give me happiness. God said NO, I'l give you blessings. Happiness is up to you.
-I asked God to spare me pain. God said NO, sufferings draws you apart from worldly cares and brings you closer to me.
-I asked God to make my spirit grow. God said NO, you must grow on your own, but I will prune you to make you fruitful.
-I asked God for all things that I might enjoy life. God said NO, I will give you life so that you may enjoy all things.
-I asked God to help me LOVE others as much as He loves me. God said… ahhh, finally you have the idea". - Unknown