"And I say unto you, Ask, and it shall be given you; seek, and ye shall find; knock and it shall be opened unto you. For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened." Matthew 7:8
I'm not going to make the argument that whatever you ask for you will get or wherever you seek you shall find what you are looking for nor that if you knock anywhere the door you need to go through will open. That's not the letter of the text nor is it the spirit of the text. But, I will say this.
There is much in life that you do not have because you did not ask, at the right time; not too soon where there is much disappointment, not too late where the unprepared live, but right on time, in time with God's perfect plan for your life.
There are many answers that you might be seeking for and have not found, because you have chosen to seek in the wrong places. You might even be seeking God, wondering why He doesn't just appear to you and straighten everything out. You have to seek in the right place to find the right answer/gift/God.
There are many times when you knocked and the door was opened but it was the wrong door, and you were let in, but that is not the door God is talking about.
"For every one that asketh receiveth:" asking of God what are the true blessings of life, asking of God which way to go, (before you turn) asking of God what to do next, (before you do it) asking of God about starting your new business, (before you start it).
"For every one that seeketh findeth:" seeking out what God designed to work for you (instead of going out on your own, blind, due to pride and ego), seeking out which way to turn (before setting off on your journey) seeking the voice of God (while on the journey, not just after you have messed it all up).
"To him that knocketh it shall be opened:" knocking on God doors, (not just any door) knocking on doors enter into holy places, (not unholy places) knocking on doors that have righteous opportunities, (not doors where those inside make their money without respect or regard to others).
Of course God is not going to give you anything you ask for, seek for, or knock on. God is the Father of lights and only answers His children with the truth, and only gives His children God/good things, and only opens doors that lead to right living. If it were any other way, would you not ask , seek or find what you are truly looking for.