Sometimes the best gifts God gives us are not the easy times when everything goes our way. The best gifts are the hard times when your life is reduced to a couple of good questions: What is this all about? Why are we here? God is not interested in making me comfortable or happy. His goal is to make me holy, like His Son. And I've never met a follower of Jesus who hasn't encountered some suffering and pain. God doesn't tell us to pick up a memory foam cross. It's rugged and it's heavy. You can run and try to find some easier way, but eventually He leads you through the thorns and the briars and that valley of the shadow. But I promise you, if you trust Him, He will lead you to green pastures and peaceful waters. Not just when you get to heaven, but right now. Peace and contentment in the middle of the storm. In the middle of the disappointment and fear and anger. The bad times are really the good times in disquise.
The goal of prayer is not to change God's mind about what you want. The goal of prayer is to change your own heart, to want what He wants, to the glory of God. When we pray, we participate in what God is doing. He gets the glory, and we get the privilege of walking with Him, and in that process we are changed. And guess what happens from that change? He gets the glory.