Philippians 4:6 -- Be careful for nothing; but in every thing by prayer and supplication (humble request or prayer) with thanksgiving let your requests be made unto God.
Prayer and supplication should be made with thanksgiving. We are to thankful when we pray before we get an answer. Sounds a little different. But the Word often stands the world's logic on its head. If we haven't got an answer yet, or we asking with thanksgiving, what could we be thankful for?
I would venture that we could be thankful that we as human beings can even approach Almighty God with our prayers and supplications. And, we can be thankful for the peace and comfort of bringing our prayers and supplications to a God who cares.
"Casting all your care upon Him; for He careth for you." I Peter5:7
And, we can be thankful for the measure of faith He builds in us, when we bring our prayers and supplications to Him and are able to surrender our care and control into His hands. At these times we can be thankful for the relationship we have with Him, that we are close enough that we might ask of Him as little children of God. What a great thing to be at the feet of Jesus, to learn of Him, to experience Him, to have relationship with Him, to be love and cared for by Him. So much to be thankful for.
We can be thankful that in His infinite wisdom, He will answer our prayers and supplications. We can give thanks-if we have matured enough in Christ - that we are able to willingly accept His answer, be it yes, no, or wait. And, we can be thankful that in our humble, and earnest prayers, in our dependence and obedience to Him and His will, "all things will work together for those who love the Lord and are called according to His purpose" (Romans 8:28) Thanksgiving: so much to be thankful for.