Proverbs 3:11-12 (NIV) 11 My son, do not despise the LORD's discipline and do not resent his rebuke, 12 because the LORD disciplines those he loves, as a father the son he delights in.
Hebrews 12:5-6 (NIV) 5 And you have forgotten that word of encouragement that addresses you as sons: "My son, do not make light of the Lord's discipline, and do not lose heart when he rebukes you, 6 because the Lord disciplines those he loves, and he punishes everyone he accepts as a son."
Proverbs 15:31-32 (NIV) 31 He who listens to a life-giving rebuke will be at home among the wise. 32 He who ignores discipline despises himself, but whoever heeds correction gains understanding.