Jesus said ask whatever you will and it will be done for you. What are the conditions?
That you come into agreement with Him, that you not only submit to Him, but that you cling to Him, and consent to Him getting rid of the dead branches in your life. Then you can ask of Him and receive, giving honor and glory to the Father showing to be true followers of His.
15:1 I am the True Vine, and My Father is the Vinedresser. 2 Any branch in Me that does not bear fruit [that stops bearing] He cuts away (trims off, takes away); and He cleanses and repeatedly prunes every branch that continues to bear fruit, to make it bear more and richer and more excellent fruit. 3 You are cleansed and pruned already, because of the word which I have given you [the teachings I have discussed with you]. 4 Dwell in Me, and I will dwell in you. [Live in Me, and I will live in you.] Just as no branch can bear fruit of itself without abiding in (being vitally united to) the vine, neither can you bear fruit unless you abide in Me. 5 I am the Vine; you are the branches. Whoever lives in Me and I in him bears much (abundant) fruit. However, apart from Me [cut off from vital union with Me] you can do nothing. 6 If a person does not dwell in Me, he is thrown out like a [broken-off] branch, and withers; such branches are gathered up and thrown into the fire, and they are burned. 7 If you live in Me [abide vitally united to Me] and My words remain in you and continue to live in your hearts, ask whatever you will, and it shall be done for you. 8 When you bear (produce) much fruit, My Father is honored and glorified, and you show and prove yourselves to be true followers of Mine. AMPC