Psalm 107:20-22 “He sent His word and healed them, snatching them from the door of death. Let them praise the Lord for His great love and for the wonderful things He has done for them. Let them offer sacrifices of thanksgiving and sing joyfully about His glorious acts.”
God “sent His word” the way a boss sends a messenger to do a mission. When He spoke, He literally watched His words leave His mouth to its intended destination until it accomplished what it had to. In this instance, to heal.
When you pray and ask God for healing, even though you (or a loved one) can be close to dying, the healing words He sends your way are powerful enough to do what it was sent to do.
Then the scripture says, after that, to praise Him. How? To offer a sacrifice of thanksgiving. It’s a sacrifice because you haven’t seen the result yet. It’s a sacrifice because it hurts. You are thanking God in the middle of your pain. You are thanking Him while waiting for your answer. And while you are thanking Him for what you are believing to happen, think about how much He loves you and all the things He has already done for you. Recall how He came through for you in times past, how He saved you from accidents or close calls, or delivered you from situations that were binding or heartbreaking; whatever they may have been, remember how good and faithful He has been to you.
You may not always know why things happen the way they do, but when you focus on thanking God for not only the big things, but for every little thing that’s good that comes your way, you can be joyful in the trying times, and in the times you are waiting for the answer to manifest.