Passage
If ye shall ask anything in my name, I will do it.
If ye shall ask anything in my name, I will do it.
John 14:12 Verily, verily, I say to you, He that believes on me, the works which I do shall he do also, and he shall do greater than these, because I go to the Father.
John 14:13 And whatsoever ye shall ask in my name, this will I do, that the Father may be glorified in the Son.
John 14:14 If ye shall ask anything in my name, I will do it.
John 14:15 If ye love me, keep my commandments.
John 14:16 And I will beg the Father, and he will give you another Comforter, that he may be with you for ever,
The verse centers on "shall", "anything", and "name". It is saying that the verse draws attention to "shall" and "anything", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 13's "And whatsoever ye shall ask in my..." into verse 15's "If ye love me keep my commandments...", so "shall" and "anything" belong inside that flow. In John context, the local focus is the identity of Jesus, new birth, eternal life, and belief and unbelief.
A plain takeaway is to answer the verse's own emphasis on "shall" and "anything" with trust shaped by these words, not by a vague optimism outside the passage.