31:17 The psalmist, who did not deserve to be disgraced, invokes the principle of retribution (see study note on 1:6; see also “Prayers for Vengeance” Theme Note).