These verses reveal that both man and God express their love for their children through discipline. This may seem to be a strange way to show love, but when one stops to think about it, it is surely an expression of love that instigates godly discipline.
Hebrews 12 and Proverbs 3:11 admonish us not to despise the chastening of the Lord. These verses are addressing out attitude toward discipline. Just as one's attitude toward the home is the most important factor, so one's attitude toward discipline is of utmost importance.