Deuteronomy 8:5

Leeser(i) 5 And thou shalt consider in thy heart, that, as a man chasteneth his son, so doth the Lord thy God chasten thee.