The Hebrew word avou commonly signifies iniquity, but it is oft used for
the punishment of iniquity, as here and 1Sa_28:10Psa_31:10Isa_53:6,11. The meaning is, if they sincerely acknowledge the righteousness of God, and their own wickedness, and patiently submit to his correcting hand, and would rather be in their present suffering condition than in their former sinful, though prosperous estate; if with David they are ready to say, it is good for them that they are afflicted, that they may learn God’s statutes, and obedience to them for the future, which is a good evidence of true repentance.