1 John 5 (KJV)
12 He that hath the Son hath life; and he that hath not the Son of God hath not life.
13 These things have I written unto you that believe on the name of the Son of God; that ye may know that ye have eternal life, and that ye may believe on the name of the Son of God.
14 And this is the confidence that we have in him, that, if we ask any thing according to his will, he heareth us:
15 And if we know that he hear us, whatsoever we ask, we know that we have the petitions that we desired of him.
That, if we ask anything according to his will, he heareth us - This is the proper and the necessary limitation in all prayer. God has not promised to grant anything that shall be contrary to his will, and it could not be right that he should do it. We ought not to wish to receive anything that should be contrary to what he judges to be best. No man could hope for good who should esteem his own wishes to be a better guide than the will of God; and it is one of the most desirable of all arrangements that the promise of any blessing to be obtained by prayer should be limited and bounded by the will of God. The limitation here, “according to his will,” probably implies the following things: