Charles Spurgeon said,"When your will is God's will, you will have your will." Spurgeon understood that your will in prayer should submit to God's will. Then, pray God's will. "Your will be done, on earth as it is in heaven" (Matthew 6:10).
Pray and receive the good, acceptable, and perfect will of God (Romans 12:2). Trying to manipulate God in prayer to have it our way is wrong. Seeking a formula in prayer to always get what we want becomes sin. It misses the mark concerning God's good will. You ask and do not receive, because you ask amiss, that you may spend it on your pleasures (James 4:3).
Pray and receive God's will according to the Bible. Holy Scripture is God's revealed will. 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 he hears us, whatever we ask, we know that we have the petitions that we have asked of Him (1 John 5:14-15).
Pray and receive God's will to God's glory (1 Corinthians 10:31). He does all things to the praise of his glory (Ephesians 1:6, 12, 14). When your will desires God's will to be done, you pray to the glory of God above all else (John 11:40). As you pray, submit your will to God's will and glory in all things.