Afterward Jesus found him in the temple and said to him, “See, you are well! Sin no more, that nothing worse may happen to you.”
John 5:14

Illness isn't always the result of personal sin, but clearly it is sometimes.