The expression “that” in this passage denotes not cause, but consequence; the sickness happened from other causes, but He used it for the glory of God.