And whatsoever we ask, we receive of him,1 John 3:22 (KJV)
because we keep his commandments,
and do those things that are pleasing in his sight.
Now this is the confidence that we have in Him,
that if we ask anything according to His will,
He hears us.
And if we know that He hears us,1 John 5:14-15
whatever we ask,
we know that we have the petitions
that we have asked of Him.