Mark 11:24 Therefore I tell you, whatever you ask for in prayer, believe that you have received it, and it will be yours.
The fact is that prayer is so powerful that it has been exploited and misused by those who have no intentions of serving God. Those who seek after their own selfish desires on this earth have used the very gift God gave us to connect with Him and perverted it, made it into some genie-in-a-bottle formula for getting things. God did not intend prayer to be a vending machine.
Yes, Jesus clearly said that whatever we ask for in His name shall be ours, but we must remember that He said this to His disciples. Jesus made this statement with the understanding that those who heard it had left everything behind to follow Him. They had given up more comfortable lives to serve the Son of God. That doesn’t mean the promise isn’t ours to claim as well, it simply means that there are stipulations attached.
Those who follow Christ and call themselves disciples seek to bring Him honor and glory and in doing so pray for His will. If we are seeking Christ, the desires of our heart will not be selfish and our prayers will reflect the character of God. If we’re walking with the Lord, our desires will be in line with His desires.