This is the confidence we have in approaching God: that if we ask anything according to his will, he hears us. And if we know that he hears us - whatever we ask - we know that we have what we asked of him (1 John 5:14, 15).
There is nothing you want more than to know that God hears you when you pray, and that you will receive what you ask for.
"And if we know that he hears...we know that we have..." (1 John 5:15).
This verse is part of a longer passage where John explains things "we know" as the result of having this testimony in our hearts. "God has given us eternal life, and this life is in his Son" (1 John 5:11).
But notice how John wrote verse 15. He didn't say you eventually will receive what you asked of God, but rather that you already have what you asked of God.
Where does this come from? First, as a result of knowing that you have eternal life you have confidence to approach God. Since you couldn't have eternal life without the indwelling Holy Spirit, and the Holy Spirit cannot indwell a sinful person, then this confidence is the direct result of the completed work of Jesus.
He died once for all for sin and he rose victorious over death. Sin never can separate you from God again and eternal life is yours. Therefore, since you know you have eternal life, you also know you are a forgiven person. Completely free from fear, you can boldly walk into God's presence.
Second, because you have the indwelling Spirit, you can listen to his promptings. He is renewing your mind; that is, teaching you to think properly.
When the Spirit prompts you to pray, you'll be doing so according to his will - and you'll know God hears you. Therefore, you know that you already have what you asked of him.
There's nothing God wants more than to make you powerfully aware of his will - his desire to conform you to Jesus, your forgiveness, eternal life, love, joy, peace and, perhaps greatest of all, that he is going to finish what he started in you (Philippians 1:6).
In Him,
Bob Christopher