Deuteronômio 8

5 And know in thine heart, that as a man chastens his son, so the LORD thy God chastens thee.