Deuteronomy 8:5

King James Version Bible (KJV)
Thou shalt also consider in thine heart, that, as a man chasteneth his son, so the Lord thy God chasteneth thee.

Read Deuteronomy 8:5 in other translations