Deuteronomy 8:5

5Know then in your heart that, a  as a man disciplines his son, the  Lord your God disciplines you.
Copyright information for ESV