Prov 3:12

12for the Lord reproves the one he loves, as a father the son in whom he delights.