PD26. Of desires, all that do not lead to a sense of pain, if they are not satisfied, are not necessary, but involve a craving which is easily dispelled when the object is hard to procure, or they seem likely to produce harm.
Joshua is right to point to this one, which is relatively clear. And I think he's right to say that the test is not limited to "bodily" - unless someone is speaking in the sense that everything is "bodily" in the end - but that's not the sense being discussed as far as I can tell.
I think Torquatus makes clear and there's no reason to doubt him that mental pains and pleasures can often be more significant to us that bodily pains and pleasures. Dying for a friend would be an extreme decision but one that seems to clearly involve mental over bodily considerations.
And in the end I don't think that's even a close issue. While maintenance of the body is necessary in order for us to do anything, most of the biggest decisions that have the most affect our course of life are not primarily for the sake of the "body" at all.