While we can be very aware of the affliction that is occurring (not pretending that it’s even occurring), even actively looking for ways to get out from under an affliction, it is possible to be content where we’re at. How? By grace!
By what has been already opened to you there will appear some mystery and art, as that a man should be content with his affliction, and yet thoroughly sensible of his affliction too; to be thoroughly sensible of an affliction, and to endeavor to remove it by all lawful means, and yet to be content: there is a mystery in that. How to join these two together: to be sensible of an affliction as much as a man or woman who is not content; I am sensible of it as fully as they, and I seek ways to be delivered from it as well as they, and yet still my heart abides content-this is, I say, a mystery, that is very hard for a carnal heart to understand. But grace teaches such a mixture, teaches us how to make a mixture of sorrow and a mixture of joy together; and that makes contentment, the mingling of joy and sorrow, of gracious joy and gracious sorrow together. Grace teaches us how to moderate and to order an affliction so that there shall be a sense of it, and yet for all that contentment under it. –Jeremiah Burroughs, The Rare Jewel of Christian Contentment