Wisdom 12:22

22 Therefore, whereas thou dost chasten us, thou scourgest our enemies a thousand times more, to the intent that, when we judge, we should carefully think of thy goodness, and when we ourselves are judged, we should look for mercy.

Wisdom 12:22 In-Context

20 For if thou didst punish the enemies of thy children, and the condemned to death, with such deliberation, giving them time and place, whereby they might be delivered from their malice:
21 With how great circumspection didst thou judge thine own sons, unto whose fathers thou hast sworn, and made covenants of good promises?
22 Therefore, whereas thou dost chasten us, thou scourgest our enemies a thousand times more, to the intent that, when we judge, we should carefully think of thy goodness, and when we ourselves are judged, we should look for mercy.
23 Wherefore, whereas men have lived dissolutely and unrighteously, thou hast tormented them with their own abominations.
24 For they went astray very far in the ways of error, and held them for gods, which even among the beasts of their enemies were despised, being deceived, as children of no understanding.

The Brenton translation of the Septuagint is in the public domain.