Prayer according to the Father’s will will be honored.

1 John 5:14-15

14 This is the confidence which we have before Him, that, if we ask anything according to His will, He hears us.

15 And if we know that He hears us in whatever we ask, we know that we have the requests which we have asked from Him.

New American Standard Bible: 1995 Update(La Habra, CA: The Lockman Foundation, 1995), 1 Jn 5:14–15.