I. That we, by our sins, bring sickness upon ourselves and then it is our duty to pray, v. 17-19. 1. It is the sin of the soul that is the cause of sickness; we bring it upon ourselves both meritoriously and efficiently: Fools, because of their transgression, are thus afflicted; they are thus corrected for the sins they have committed and thus cured of their evil inclinations to sin. If we knew no sin, we should know no sickness; but the transgression of our life, and the iniquity of our heart, make it necessary. Sinners are fools; they wrong themselves, and all against their own interest, not only their spiritual, but their secular interest. They prejudice their bodily health by intemperance and endanger their lives by indulging their appetites. This their way is their folly, and they need the rod of correction to drive out the foolishness that is bound up in their hearts. 2. The weakness of the body is the effect of sickness, v. 18. When people are sick their soul abhors all manner of meat; they not only have no desire to eat nor power to digest it, but they nauseate it, and their stomach is turned against it. And here they may read their sin in their punishment: those that doted most on the meat that perishes, when they come to be sick are sick of it, and the dainties they loved are loathed; what they took too much of now they can take nothing of, which commonly follows upon the overcharging of the heart with surfeiting and drunkenness. And when the appetite is gone the life is as good as gone: They draw near unto the gates of death; they are, in their own apprehension and in the apprehension of all about them, at the brink of the grave, as ready to be turned to destruction. 3. Then is a proper time for prayer: Then they cry unto the Lord, v. 19. Is any sick? Let him pray; let him be prayed for. Prayer is a salve for every sore.