Deuteronomy 8:5

5 And know in thy heart that, as a man chasteneth his son, so Jehovah thy God chasteneth thee;

Deuteronomy 8:5 In-Context

3 And he humbled thee, and suffered thee to hunger, and fed thee with the manna, which thou hadst not known, and which thy fathers knew not; that he might make thee know that man doth not live by bread alone, but by everything that goeth out of the mouth of Jehovah doth man live.
4 Thy clothing grew not old upon thee, neither did thy foot swell, these forty years.
5 And know in thy heart that, as a man chasteneth his son, so Jehovah thy God chasteneth thee;
6 and thou shalt keep the commandments of Jehovah thy God, to walk in his ways, and to fear him.
7 For Jehovah thy God bringeth thee into a good land, a land of water-brooks, of springs, and of deep waters, that gush forth in the valleys and hills;
The Darby Translation is in the public domain.