Do we really receive whatever we pray for?

Mark 11:22-26 “Jesus replied to them, “Have faith in God. I assure you: If anyone says to this mountain, ‘Be lifted up and thrown into the sea,’ and does not doubt in his heart, but believes that what he says will happen, it will be done for him. Therefore I tell you, all the things you pray and ask for — believe that you have received them, and you will have them. And whenever you stand praying, if you have anything against anyone, forgive him, so that your Father in heaven will also forgive you your wrongdoing. But if you don’t forgive, neither will your Father in heaven forgive your wrongdoing.”
‭‭
But then it says in 1 John 5:14-15 “Now this is the confidence we have before Him: Whenever we ask anything according to His will, He hears us. And if we know that He hears whatever we ask, we know that we have what we have asked Him for.”

What if it isn’t in Gods will for me to have what I prayed for? I feel like Im now maybe in the category of a doubter, as it says in

James 1:6-8 “But when you ask, you must believe and not doubt, because the one who doubts is like a wave of the sea, blown and tossed by the wind. That person should not expect to receive anything from the Lord.”

I don’t think I doubt but Im just confused here. Can anyone share some helpful insight? Thank you, God bless.
Updates
1 y
Thanks everyone for your replies and insight. I understand that we in fact don’t receive whatever we pray for as it says in Mark 11 and 1John 5. And that our prayers have to be aligned with His will for our lives. I now have to somehow learn to accept that my prayers may be denied, but without doubting when I pray. I feel like this is gonna be a challenge, hopefully God blesses me with the wisdom to do this successfully. Thank you guys. God bless you all🙏🏾
Do we really receive whatever we pray for?
Post Opinion