David confesses his sin. He indirectly was the cause of the illness. David sinned and the Lord disciplined him as a good father does. The discipline was the illness. The illness was a near-death moment.
David did not say anything when disciplined. He and those around him knew he had sinned and knew the Lord was disciplining him. They believed he would die. David did not say anything, not even to God. He remained silent and thought about the place he had put himself in. When he could not hold his tongue anymore due to an anguished heart he spoke his confession.
God is constantly involved him my life. He is not far off and unconcerned. He desires that I am the best that I can be. The best that I can be is displayed in the life of Jesus. Jesus is my perfection destination. When I am not heading for the destination, the Lord rebukes me by the blow of his hand. I may be healthy one moment and terribly ill the next. I need to realize and accept that each man is but a breath. The fear of the Lord needs to be known and understood as much as the Love and forgiveness of the Lord.