In this Psalm David expresses his sorrow and distress. Life was not going well for David. David’s popularity had waned, and his enemies had increased. David was even failing physically. In this regard David said, “My strength has failed because of my iniquities, and my body has wasted away.” David realized that his condition was due to the sins in his life.
There is a linkage between one’s sins and their physical health. The Bible says illness and injury can indeed be the consequences of sin.
There is much sin in the world, and there is much affliction. Many people are in poor health. The drug industry is flourishing.
The good news is that some of this physical affliction can be reversed if one departs from their sinful life. The Bible says, “Those who wait on the Lord will renew their strength.” Just as sinning produces bad health and affliction, living rightly before God produces good health and renewed strength. That is but one of the many benefits of obeying God.