Deuteronomy 8:5 in the King James Version
Thou shalt also consider in thine heart, that, as a man chasteneth his son, so the LORD thy God chasteneth thee.
Context
4 Your clothing didn’t grow old on you, neither did your foot swell, these forty years.
5 You shall consider in your heart that as a man disciplines his son, so the LORD your God disciplines you.
6 You shall keep the commandments of the LORD your God, to walk in his ways, and to fear him.