Besides a bone-deep exhaustion that hurt so much it almost felt good, the only thing I remember feeling at all was relief that ...

What does the phrase in red mean? What is the author trying to describe?

Thanks in advance!
It's quite a literal statement. Sometimes things that feel bad can sort of feel good in some way or other.
Thanks, Nona.