Is all suffering God's angry punishment? David prays for relief from God's wrath, implying there's a difference between God's anger and His loving discipline.
The core of David's prayer is a desire for God's discipline to be understood as loving correction, not vengeful wrath. While God does discipline His children, this discipline flows from love and aims for our growth, not destruction.
Love in Correction
Scripture consistently presents God's chastening of believers as a fatherly act. It's meant to teach, refine, and bring us closer to Him. This is fundamentally different from His wrath, which is His final, unyielding opposition to all sin. David, sensing the severity of his affliction, fears it's the latter, but hopes it is the former.