My son, do not reject the discipline of the Lord, or loathe His reproof. For whom the Lord loves He reproves, even as a father, the son in whom he delights (Prov. 3:11-12).
No ingredient is poured into the cup of affliction but by infinite wisdom and grace; nor shall the rod of Jehovah rest upon the lot of the righteous, longer than need requires. … To keep our minds from fainting, let us consider who it is that corrects us. It is the Lord, and all flesh must be silent before Him, and receive what evils He is pleased to appoint with reverence and resignation.
Waltke rightly concludes: "When the father's admonitions are violated, the son can expect the Lord to back it up with a 'spanking' to prevent the wrong from becoming habitual." God knows what He is doing and this is noted by Paul when he wrote: "God causes all things to work together for good to those who love God, to those who are called according to His purposes" (Rom. 8:28). Everything comes together in one big mosaic to accomplish His purposes, even the painful discipline that reigns us back in to trust Him. And this in turn brings about inner peace and contentment!
–Dr. Mal Couch