12 Blessed is the man whom Thou dost chasten,
O LORD, And dost teach out of Thy law;
13 That Thou mayest grant him relief from the days of adversity,
Until a pit is dug for the wicked.
14 For the LORD will not abandon His people,
Nor will He forsake His inheritance.
15 For judgment will again be righteous;
And all the upright in heart will follow it.
This psalmist takes the same view of Godly discipline as the Hebrew writer. The chastened one is not hated, but he is loved and corrected so that he better follows God’s law. This is the one who is cared for and protected.
Heb. 12:5“and you have forgotten the exhortation which is addressed to you as sons, “MY SON, DO NOT REGARD LIGHTLY THE DISCIPLINE OF THE LORD, NOR FAINT WHEN YOU ARE REPROVED BY HIM;
6FOR THOSE WHOM THE LORD LOVES HE DISCIPLINES, AND HE SCOURGES EVERY SON WHOM HE RECEIVES.”
7It is for discipline that you endure; God deals with you as with sons; for what son is there whom his father does not discipline?”
It is the unchastened who are unloved (in the peculiar sense of loved as children, since are are under the love of God generally for all mankind, Jn. 3:16), and who uncorrected go to destruction.