It is a great good to give oneself up to the will of God. Then the Lord alone is in the soul. No other thought can enter in, and the soul feels God's love, even though the body be suffering.
The most important thing during illness is to offer to God patience and thanksgiving for His merciful visitations. Sickness purifies sins and gives one time to meditate on the past.