Ben Sira 18:21

21 Humble yourself before you are punished with sickness. When you have sinned, show repentance.