Great reminder.
You reminded me of a conversation I once had with someone years ago who also suffered from a chronic pain condition, and I shared with her something I'd read in The Hiding Place about how Corrie Ten Boom's sister insisted that they thank God for the fleas and lice they were inflicted with because the Bible says to give thanks in every situation, but Corrie had so much trouble with the idea of thinking that was something they were to be thankful for and how much it hurt her to think that what she saw as a curse was really a blessing. But it turned out to actually be a blessing because God used that infestation to keep the Nazi guards away from their barracks and give those women actual fellowship and worship time without fearing the guards.
I shared that story with this woman and how it led me to change my view of my health (not always a constant view, I'll admit. It can be a struggle), and that it did lead me to thank God for what He's allowed to happen to me because I see how He's used it to shape me and guide me. It really sucks some days, but its not something that surprised Him or that He has no control of. He has a purpose. And I remember her response was very angry and bitter and something along the lines of, "I will never thank God for this hell I'm living." And I totally understand why she said that and saw it that way, but then weeks later she came back and was sharing how she was being used by God as a witness to her step daughter about what it means to lean on God as your strength when you have none of your own.
I think there are blessings in every situation. and everything happens for a reason. We just need to be looking for those things and be open and have a heart that is thankful to God for those things.