(in scriptural language), is,

Whatever tends to correct the moral conduct, and bring back from error or sin, as afflictions.
From The American Dictionary of the English Language by Noah Webster, 1828

All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness: that the man of God may be perfect, thoroughly furnished unto all good works.
2 Timothy 3:16 and 17